[android] [application] migrate to sweet API (#24568)# Why Improved version of https://github.com/expo/expo/pull/22585.
[application] Clarify that getIosPushNotificationServiceEnvironmentAsync returns null on the simulator (#18282)
[docs] refactor and improvement of platform labels (#15037)
[tools][docs] bump TypeDoc, migrate to @example annotation (#14465)
Rename unimodules imports to expo-modules-core
[docs] convert next batch of modules to use auto generated API section (#12408)# Why This PR is the continuation of #12239, and includes next batch of modules converted to leverage the newly add
[docs] convert next batch of modules to use auto generated API section (#12408)# Why This PR is the continuation of #12239, and includes next batch of modules converted to leverage the newly added auto generated API section feature. # How The new modules which will use this feature are: * `expo-application` * `expo-keep-awake` * `expo-splash-screen` I had to add the missing documentation for two methods in `Application` module, so this part of changeset should be verified by someone more knowledgable. Those methods were missing in the current docs. The changes also have been backported to the SDK v41 docs (form `unversioned`, as in the origin PR), so the changes can be seen after the deploy. # Test Plan I have been testing and improving the autogen feature using those modules too, but they did not land in the initial PR to reduce the amount of files and changes in there. All the pages have been tested on `localhost` and should include all the information which were previously present in thew docs with some additional tweak, fixes and small additions.
show more ...
[application] add doc comments in source (#12367)
[repo] Deprecate installationId (#10997)# Why https://github.com/expo/expo/pull/6749#discussion_r367214765 # How Where it was obvious how to, I replaced it with custom implementation. Wher
[repo] Deprecate installationId (#10997)# Why https://github.com/expo/expo/pull/6749#discussion_r367214765 # How Where it was obvious how to, I replaced it with custom implementation. Where it wasn't obvious: https://github.com/expo/expo/blob/b9fac3f10f8c073da02e27a26730633186a4df24/packages/expo-firebase-analytics/src/ExpoFirebaseAnalytics.ts#L51-L62 I left it as it was. # Test Plan TS compiles.
[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-application] Add methods for app release type and APNs environment (#6724)# Why APNs environment will be useful for `expo-notifications` module. App release type could be useful for users'
[expo-application] Add methods for app release type and APNs environment (#6724)# Why APNs environment will be useful for `expo-notifications` module. App release type could be useful for users' analytics. # How In the gist of things, I moved `EXProvisioningProfile` from `ExpoKit` to `EXApplication`. Kernel either uses `EXApplication/EXProvisioningProfile` (if it's present) or uses sensible fallback values. # Test Plan Added tests to `test-suite`, verified in `bare-expo` that they pass.
[lint] Add a "lint" script to all packages and fix lint warnings & errorsThis turns on linting for all of the packages, enforced by `expotools check-packages`. I added a "lint" script to each packa
[lint] Add a "lint" script to all packages and fix lint warnings & errorsThis turns on linting for all of the packages, enforced by `expotools check-packages`. I added a "lint" script to each package and an `.eslintrc.js` file created by expo-module-scripts. For some packages like jest-expo that are intended to run on Node, I used a small handwritten ESLint config that uses the universe/node config.Tested with `expotools check-packages` after fixing all the lint warnings and errors.
[expo-application] create expo-application unimodule (#5008)* create expo-application unimodule Co-authored-by: Robert Luo <[email protected]> Co-authored-by: Vivian Zhu <[email protected]>
[expo-application] create expo-application unimodule (#5008)* create expo-application unimodule Co-authored-by: Robert Luo <[email protected]> Co-authored-by: Vivian Zhu <[email protected]> * [docs] update docs description * [web] handle web constants and update format * [ios] cleanup inline methods and handle error with NSError * [docs] add error codes * [ios] resolve conditional logic and resolve promise twice * [docs] update getFirstInstallTimeAsync changes description * [web] add nullable constants to web * [android] add error codes * took out endConnection and things work * add error codes * [android] close install referral connection we didn't close the connection before, which could be dangerous/cause memory leaks. checked and this works * [docs/android] update error codes * Add ERR_APPLICATION_PACKAGE_NAME_NOT_FOUND code * Fix soem things in docs * [ios] add conditionals to avoid double invocation of promise * [docs] add note about types for nativeBuildVersion it seems that in the native code, for iOS the nativeBuildVersion in Info.plist is a string, while android.versionCode is an int * [docs] update installation guide in README and docs * rename getFirstInstallTimeAsync to getInstallationTimeAsync and bundleId to applicationId * [android] change constant and method names * bundleId->applicationId * getFirstInstallTimeAsync() -> getInstallationTimeAsync() * [android/docs] add debugger log statements * update docs and code format in js * [ios] update pods * [android/docs] add promise rejection for hanging promise * optimize imports * add promise rejection + error code * remove Log.d * [docs] update docs format * [web] update getFirstInstallationTime to return null on web * [ios] reinstall pods ran pod install to include `expo-application` * [ios] update c-style code format and remove checks * cast nativeBuildVersion to be string * Update build.gradle Update compilesdk version to 28 * Update ApplicationModule.java * add more context on general case error * add current method to get version code for api version 28+ * Update application.md * Update EXApplication.m * Update application.md