Commit Graph

99 Commits

Author SHA1 Message Date
Mike Hardy
d98b80ea2f chore: retry all soft-fail Android E2E steps, add logging to iOS E2E (#4084)
* Allow test app to install external if it wants
It is quite large and managing emulator internal space is important

* Bump gradle in test app to 6.6, kotlin to current, compile/target SDKs to 29
Includes output of `./gradlew wrapper` to regenerate everything

* E2E action no longer needs special cache handling
Upstream bug resolved

* Increase emulator RAM and disable JNI checking in E2E test
This should speed things up a bit, increasing success rate vs timeouts

* Add iOS Detox tracing to E2E config
Should help diagnose iOS flakiness there

* Remove JDK8 config in Android E2E config
It is the default on macOS 10.15 runner, so special setup unnecessary

* Use Xcode 11.6 (current) for iOS E2E run
This is the default, so special configuration not needed, but
still need to extract the Xcode version for Detox build cache

* Decompose Android E2E tasks, retry all flaky steps
2020-08-14 09:32:39 -05:00
Mike Hardy
c91d2ffe39 tests: use Detox as compile reference, ignore UIManager queues (#4076) 2020-08-13 08:57:41 +01:00
Russell Wheatley
e7b4bb31b0 feat: use latest android & ios Firebase SDKs version (#3956)
* chore(*): version upgrades

* chore(*, ios): update GoogleUtilities test/ios

* chore(_,ios): update pod lock

* chore(crashlytics, android): update SDK for tests

* chore: move google-services plugin for gradle

* chore: ios sdk upgrade

* chore: update test Podfile.lock
2020-07-24 13:11:46 +01:00
Mike Hardy
ca6c88f46b tests: bump soloader dependency to fix ABI lib load issues (#3811) 2020-06-22 10:34:06 +01:00
Mike Diarmid
f794ca08bc ci: use FirebaseFirestore pre-compiled pod (#3777)
* tests: use FirebaseFirestore pre-compiled pod

* Update tests_e2e.yml

* Revert tests_e2e.yml

* Update Podfile

* update Podfile

* update podfile

* ci: update detox version

* ci: update android emulator options

* ci: temp disable app delete tests

* ci: android disable hardware acceleration

* ci: increase timeouts
2020-06-15 09:46:24 +01:00
Mike Diarmid
81479dc48e tests: support Android e2e tests on Actions (#3517)
[skip-ci]
2020-04-24 11:05:25 +01:00
Salakar
cf7a09f6d7 chore: update workflows 2020-04-22 16:21:53 +01:00
Mike Diarmid
e427fcfd9b chore: github actions (#3472) 2020-04-17 14:54:16 +01:00
Mike Diarmid
67bbd30a34 chore: upgrade testing project to RN 0.62.x (#3433)
* chore: upgrade testing project to RN 0.62.x

* add placeholder flow script for CI

* update jet to fix iOS issue

* revert typedoc version (latest version not working)

* add `react-native-port-patcher` back in - port still being ignored by RN so patching manually

* add `react-native-port-patcher` back in - port still being ignored by RN so patching manually

* temporarily use iphone x for detox until CI servers upgraded

* -

* Update package.json

* Update on.e2e.js

* Update orderByValue.e2e.js

* Update on.e2e.js

* Update init.js

* -
2020-04-14 21:14:44 +01:00
SaeedZhiany
24ed7161d3 refactor(*): load Android Gradle Plugin conditionally (#2863)
* Loaded Android Gradle Plugin conditionally, Upgraded AGP version to 3.5.2
* Upgraded AGP version to 3.5.2
* upgraded Gradle wrapper version to 5.6.4
2019-11-23 17:22:07 +00:00
Frieder Bluemle
3dbca459fa Remove executable bit from non-executable files (#2531) 2019-08-30 13:17:26 +01:00
Salakar
f429699990 - [dependencies][android] remove all Firebase SDKs in favour of Firebase BoM
- [android] upgrade to Android X
- [android] upgrade gradle wrapper to v5.4.1
- [android][ios][tests] remove manual packages & enable auto-linking
- [tests][internal] upgrade tests project to RN 60
- [ios] temporarily remove framework support in pods - broken in RN 60 - see https://github.com/facebook/react-native/issues/25349
- [linting] switch to use rn community linting rules
2019-07-30 03:59:04 +01:00
Salakar
c7c304e599 [storage] initial work to move storage.Path statics out of storage module and into core utils
TODO: move native storage code into utils
TODO: move utils module into core
2019-07-22 09:14:21 +01:00
Salakar
a3f926d87f [dynamic-links] rename module to dynamic-links from links 2019-07-19 09:29:34 +01:00
Elliot Hesp
1e1de2bd04 v6 Implement Cloud Firestore (#2319) 2019-07-12 14:12:53 +01:00
Mike Diarmid
85672a479a v6 Implement Cloud Messaging (#2330) 2019-07-12 14:06:43 +01:00
Mike Diarmid
a966c20be7 v6 Implement ML Kit Vision (#2343) 2019-07-12 14:05:29 +01:00
Mike Diarmid
978b298f94 [v6] Implement Dynamic Links (#2103)
(coverage + tests to follow in another PR)
2019-06-07 13:28:07 +01:00
ehesp
494646e770 [v6] Implement App Indexing 2019-06-05 14:54:37 +01:00
Mike Diarmid
fe959bb842 [v6] Implement Realtime Database (#2195)
* [database] recreate database branch based off of #2185

* [database] cleanup linting issues

* [database] enable tests

* [database] add to tests deps
2019-06-04 15:25:35 +01:00
Mike Diarmid
21a16867fe [v6] Implement ML-Kit Natural Language (#2117)
- Implement ML-Kit Natural Language (#2117)
 - Includes additional refactor changes across other modules for internals api reworking
2019-06-02 17:58:21 +01:00
Mike Diarmid
6c3cb7c40e [v6] Implement Authentication (Part 1) (#2107)
Migrate Android, iOS and JS code from Auth v5.
2019-05-07 02:35:15 +01:00
Mike Diarmid
7f11a9e501 [v6] Implement Cloud Storage (#2043)
See the changelog for detailed changes.
2019-05-03 12:05:40 +01:00
Mike Diarmid
34b1d92005 [v6] Implement Invites (#2015)
[v6] Implement Invites
2019-03-28 20:52:16 +00:00
Ilja Daderko
fb7109e52a [v6] Implement Remote Config (#1896) 2019-03-26 13:03:57 +00:00
Mike Diarmid
c89ba48e92 [v6] Implement Crashlytics upgrade + required internals changes (#1958)
[crashlytics]

Fixes: #1643, #1848, #1964, #1920, #1884, #1783, #1966, #1940, #1447

Features/Bugs Todo:

  Capture JS Exceptions with stack traces automatically
  Capture Unhandled Promise Rejections with stack traces automatically
  [Android] .crash() not captured in debug due to RN RedBox; see #1921
  Support advanced user identifier features
  [Android] Enable Crashlyics NDK reporting by default (gist)
  Support toggling native crash logging off/on (e.g. disable in DEV)
  Support toggling JS crash logging off/on (e.g. disable in DEV)

  [ios] Static framework support for all modules
  [ios] Implement CocoaPods Firebase RN modules auto-loader script
  Implement firebase.json config loader; Android & iOS
  [tests] Fix false positive tests that catch errors (tests did not check that errors actually threw)
  [android] Cleanup manifest permissions for all modules
  [android] Implement Content provider base class
  [android] Investigate/fix issue where setDataCollectionDefaultEnabled is false by default in Firebase - it disables Crashlytics reporting
2019-03-13 17:07:21 +00:00
Michael Diarmid
93a3b36f37 [v6] Implement In-App Messaging (fiam) (#1925)
firebase.fiam().*
2019-02-27 07:59:16 +00:00
Salakar
dc215dd7f4 [android] upgrade gradle versions 2019-02-13 11:31:11 +00:00
Salakar
66d6cca9c2 [tests][crashlytics] apply fabric build tools 2019-02-10 03:50:00 +00:00
Salakar
cdad2ea57c [android] update sdk versions 2019-02-10 03:26:07 +00:00
Salakar
3e4d6c1cf0 [tests][android] rename package/applicationId 2019-02-10 01:47:12 +00:00
Salakar
523164ef9d [tests] remove all firebase project credentials 2019-02-10 01:44:23 +00:00
Salakar
d47830b702 [tests] initialise default app natively to work around Firebase Perf hard requirement on default app plist/json setup 2019-02-05 02:36:50 +00:00
Salakar
51e83a0adc [tests] misc 2019-02-04 18:52:25 +00:00
Salakar
074c0ec5c2 [tests] integrate perf package 2019-02-04 18:38:15 +00:00
Salakar
b095c044a5 [tests] integrate iid package 2019-02-04 18:09:05 +00:00
Michael Diarmid
17d778cf66 Refactor into monorepo for v6 (#1837)
> You can [learn more about this here](https://blog.invertase.io/react-native-firebase-2019-7e334ca9bcc6).
2019-02-01 10:37:48 +00:00
Salakar
1ebdc20d2b [android] update native Firebase SDK versions 2019-01-04 22:21:51 +00:00
Michael Diarmid
1d83962f26 [messaging] getToken/deleteToken/onTokenRefresh improvements (#1805)
[IOS] [BUGFIX] [MESSAGING] fix getToken() always returning initialToken (#1510)

[ANDROID] [NOTICE] [MESSAGING] deprecate RNFirebaseInstanceIdService in favour of FirebaseMessagingService's onNewToken event. Remove this service from your AndroidManifest.xml

[IOS] [ANDROID] [INTERNAL] [MESSAGING] getToken & deleteToken now use Firebase InstanceID token management apis (with an FCM scope).
2019-01-03 17:01:51 +00:00
Michael Diarmid
fa7b98895e Re-configure Android CI (#1488)
* [tests][wip] re-configure android ci

* [tests] re-configure android ci

* [tests] re-configure android ci

* [tests] re-configure android ci

* [tests] re-configure android ci

* [tests] re-configure android ci

* [tests] disable gradle daemon

* [tests] misc

* [tests] misc

* misc ci

* ci

* ci

* ci

* ci

* ci

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* switch to rnfb docker image

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [ios][auth] cleanup and add new auth error codes

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]
2018-12-09 19:37:11 +01:00
Salakar
a734d7b706 [android] update Firebase SDK dependencies 2018-11-01 13:12:17 +00:00
Salakar
af4b2f8681 [android] update firebase sdk dependencies 2018-10-12 18:09:43 +01:00
Salakar
3eea8dd011 [android][tests] update gradle to 4.6 2018-10-12 18:09:01 +01:00
Michael Diarmid
c218c15d3f Update build.gradle 2018-09-25 10:38:08 +01:00
Salakar
bb4659d964 [android] update Firebase SDK deps 2018-09-24 04:41:37 +01:00
Salakar
62e2c42ec6 [tests][android] disable bundle deltas - TODO move to Jet 2018-09-16 22:56:26 +01:00
Salakar
351e4e8136 [tests] switch to latest native jet package names 2018-09-12 12:46:46 +01:00
Salakar
e56bf3aae9 add tests android app 2018-08-25 13:38:05 +01:00
Salakar
2cce623612 remove old tests app - no longer in use / migrated to bridge 2018-08-05 02:20:26 +01:00
kf
6d64ae8bc3 Update fabric tools version to 1.25.4 2018-07-03 23:23:40 +08:00