[android][expo-sharing] migrate to new modules API (#20112)# Why Migrate module to new modules API # How Followed the usual steps involved in migrating a module # Test Plan Tested in the b
[android][expo-sharing] migrate to new modules API (#20112)# Why Migrate module to new modules API # How Followed the usual steps involved in migrating a module # Test Plan Tested in the bare expo app and all works as before. I removed onActivityResult as all it did was resolve the promise with null but I don't think this is necessary anymore with the new API. It can easily be put back if that was not correct.
show more ...
[sharing] Fix return type of `shareAsync` (#18019)- Changed the native implementations to resolve their promises with null/nil. Web is already ok - Changed the return type of `shareAsync` to `Prom
[sharing] Fix return type of `shareAsync` (#18019)- Changed the native implementations to resolve their promises with null/nil. Web is already ok - Changed the return type of `shareAsync` to `Promise<void>` - Regenerated docs Co-authored-by: Expo Bot <[email protected]>
[docs] APISection: improve default value in tables, small tweaks (#16880)
Rename unimodules imports to expo-modules-core
[sharing] add doc comments in source (#12299)
[ts] Upgrade to TypeScript 3.9.2 (#8280)* [ts] Upgrade to TypeScript 3.9.2 This upgrades TypeScript to 3.9.2 to keep us more up to date. It also supports `@ts-expect-error` for places where we w
[ts] Upgrade to TypeScript 3.9.2 (#8280)* [ts] Upgrade to TypeScript 3.9.2 This upgrades TypeScript to 3.9.2 to keep us more up to date. It also supports `@ts-expect-error` for places where we want to get notified if a future TS version stops triggering type checker errors. https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/ It is also supposed to be faster but I don't have real numbers on this. CI might be a reasonable indicator. Also updated ts-jest, since there was a bug that required clearing the Jest cache. Updated the TS version in expo-module-scripts. Ran `expotools check-packages --no-uniformity-check ` to rebuild, test, and lint all files. * [ts] Fix up files for TS 3.9 * [ts] Rebuild JS files with TS 3.9.2
[lint] Add "prefer-const" setting (#7389)* [lint] Add "prefer-const" setting See https://github.com/expo/expo/blob/master/guides/Expo%20JavaScript%20Style%20Guide.md#let-and-const which explains
[lint] Add "prefer-const" setting (#7389)* [lint] Add "prefer-const" setting See https://github.com/expo/expo/blob/master/guides/Expo%20JavaScript%20Style%20Guide.md#let-and-const which explains the overall rationale for using `const` (mainly to pick a lintable option and to reduce attention cost talking about it). Tested by adding a test case to the linter and running tests and looking at the snapshot to see that the linter autofixed let to const. * [lint] Apply let/const autofixes * Add build files
[expo] Export types (#7120)* [location] Export missing types (#7079) # Why Part of https://github.com/expo/expo/issues/7077, resolves #4422 # How Exports: - LocationTaskOptions - Regi
[expo] Export types (#7120)* [location] Export missing types (#7079) # Why Part of https://github.com/expo/expo/issues/7077, resolves #4422 # How Exports: - LocationTaskOptions - Region - LocationCallback - HeadingCallback * [expo-analytics-amplitude] Export types (#7078) * [expo-error-recovery] Export types (#7084) * [expo-background-fetch] Export types (#7081) * [expo-barcode-scanner] Export types (#7082) * [expo-gl] Export types (#7085) * [expo-image-picker] Export types (#7087) * [expo-mail-composer] Export types (#7094) * [expo-localization] Export types (#7092) * [expo-local-authentication] Export types (#7090) * [expo-intent-launcher] Export types (#7089) * [expo-in-app-purchases] Export types (#7088) * [expo-screen-orientation] Export types (#7109) * [expo-sms] Export types (#7108) * [expo-speech] Export types (#7107) * [expo-web-browser] Export types (#7106) * [expo-video-thumbnails] Export types (#7105) * [expo-blur] Export types (#7113) * [expo-camera] Export types (#7114) * [expo-linear-gradient] Export types (#7115) * [expo-sensors] Export types (#7116) * [expo-sharing] Export types (#7117) * [expo-av] Export types (#7111) * [expo-av] Export types * [expo-av] Fix CI * [expo-blur] Type prefixing * [expo] Prefix types * [expo-camera] Fix typo * [expo-error-recovery] Use record type * [expo] Apply requested changes * [expo] Rebuilt packages * [expo] Update changelog
[eslint-config-universe] Add import ordering alphabetization (#7038)
[eslint-config-universe] Add more lint rules for TypeScript (#6847)* [eslint-config-universe] Add more lint rules for TypeScript * expotools check-packages --no-build --no-test --fix-lint * e
[eslint-config-universe] Add more lint rules for TypeScript (#6847)* [eslint-config-universe] Add more lint rules for TypeScript * expotools check-packages --no-build --no-test --fix-lint * expotools check-packages
[sharing] Fix build
[image-picker][sharing] Small fixes while working on tutorial (#6757)
[packages] Move unimodules foundation to `org.unimodules` scope
[expo-sharing] Add expo-sharing module with basic functionality (#3556)## Why Package was response for users request about possibility to share to other platforms, especially instagram https://
[expo-sharing] Add expo-sharing module with basic functionality (#3556)## Why Package was response for users request about possibility to share to other platforms, especially instagram https://expo.canny.io/feature-requests/p/make-it-possible-to-share-an-image-to-instagram-on-ios-and-android ## How Created new `expo-sharing` package with basic sharing functionality. On Android used Intent `Intent.ACTION_SEND` and to ensure file is accessible for third applications used `FileProvider`. On iOS used `UIDocumentInteractionController presentOpenInMenuFromRect` to open action sheet. For android added `mimeType` property, for iOS added `UTI` to be able to control shown applications that can handle file. ## Test Plan Test using NCL Sharing module.