Commit Graph

1694 Commits

Author SHA1 Message Date
Salakar 2e26858e3f [tests][crashlytics] mark crash() test as pending - sometimes flakey and breaks due to detox issue 2018-04-13 13:47:49 +01:00
Salakar f290d2eb02 [tests] misc cleanup 2018-04-13 13:46:52 +01:00
Salakar a9bb8a2bd8 [tests] move helpers require into mocha opts - makes them available in the module scope 2018-04-13 13:46:18 +01:00
Salakar c14e60017e [firestore][DocumentSnapshot] explicitly bind context on data/get methods to keep context during destructuring (includes tests) 2018-04-13 11:50:30 +01:00
Salakar ccb5f70dc1 [tests] misc 2018-04-13 11:04:40 +01:00
Salakar 01ed77904f [tests] misc switch to using the new bridge.require() utility 2018-04-13 11:00:42 +01:00
Chris Bianca feb1315f84 [firestore] Ignore timestampsInSnapshotsEnabled on iOS 2018-04-13 10:10:05 +01:00
Chris Bianca b0abf23c6d [firestore] Add support for settings 2018-04-13 09:58:53 +01:00
Chris Bianca 1922a25198 [firestore] Add setLogLevel support 2018-04-13 08:41:57 +01:00
Chris Bianca c27918c53c [types] Add missing constructors 2018-04-13 08:41:57 +01:00
Salakar c1abfcf002 [tests] misc 2018-04-12 18:13:40 +01:00
Salakar 380720c5fe update build watch script 2018-04-12 18:10:44 +01:00
Chris Bianca c47ebe01c8 4.0.2 2018-04-12 17:30:40 +01:00
Salakar a131209e68 [tests][firestore] remove test focus 2018-04-12 12:56:29 +01:00
Salakar a3f5b01d67 [tests][firestore] start of migrating firestore tests 2018-04-12 12:54:29 +01:00
Salakar 4f5f617de0 [tests] additional tweaks to firestore test helpers 2018-04-12 12:53:18 +01:00
Salakar b918eea630 [firestore] add support for `DocumentSnapshot.get('dot.notated.field.path')` 2018-04-12 12:38:28 +01:00
Salakar f1e9d28869 [firestore] add support for `DocumentSnapshot.get('dot.notated.field.path')` 2018-04-12 12:30:41 +01:00
Chris Bianca 590d69ce89 [types] Add missing typescript statics for messaging, notifications and links 2018-04-12 08:50:13 +01:00
Salakar 1838089684 [tests] added global.TestHelpers + firestore helpers `TestHelpers.firestore.X` 2018-04-12 08:14:17 +01:00
Salakar 85efdecb1a [tests] added global.testRunId - should be used to prevent conflicts when multiple builds/tests are running - tests need to use this e.g. someDoc = `collection-tests/${testRunId}foobar` 2018-04-12 08:13:29 +01:00
Salakar 0be999a691 [tests] misc ios proj/pods 2018-04-12 08:10:33 +01:00
Salakar c238fdab03 add lib build watch script for local dev 2018-04-12 08:08:39 +01:00
Chris Bianca 62706f9629 [notifications][android] Fix file:// for android notification images 2018-04-11 18:27:02 +01:00
Chris Bianca cd5c616a93 [notifications][ios] Handle plain text alert #963 2018-04-11 18:23:34 +01:00
Chris Bianca 0645d179b3 [notifications] Make title and body optional fields 2018-04-11 18:15:38 +01:00
Salakar 548086db7a [tests][perf] added perf() tests -> 100% coverage 2018-04-11 03:42:25 +01:00
Salakar 042b4bd736 [tests][iid] added iid() tests -> 100% coverage 2018-04-11 02:45:47 +01:00
Salakar 2382347a43 [tests][crashlytics] added crashlytics() tests -> 100% coverage 2018-04-11 02:33:21 +01:00
Salakar 3c1295131f [tests][crash] remove test focus 2018-04-11 00:16:05 +01:00
Salakar 783dcc32cf [tests][crash] added crash() logs -> 100% 2018-04-11 00:15:36 +01:00
Salakar f28e39ee42 [tests] tweak deprecation logging exclusion logic 2018-04-11 00:15:16 +01:00
Chris Bianca d78187569b 4.0.1 2018-04-10 16:26:33 +01:00
Chris Bianca 5dbb6bc9fd [notifications][android] Support file:// urls for bitmaps 2018-04-10 16:14:06 +01:00
Chris Bianca eb91523478 [notifications][android] Fix incorrect array to arraylist cast #949 2018-04-10 16:02:42 +01:00
Chris Bianca 5127486712 [notifications][ios] Fix crashes when notifications are received in background on iOS 9 #952 2018-04-10 15:17:11 +01:00
Chris Bianca 6edb37b0ba
Merge pull request #957 from matttti/patch-1
fix cancelAlarm on android
2018-04-10 15:45:04 +02:00
mjs daa8f9cbc0
fix cancelAlarm on android
I noticed that firebase.notifications().cancelAllNotifications() has no effect on android phones. All scheduled notifications still appear. The propsed change fixes this. It was "inspired" by https://stackoverflow.com/questions/35341682/cancel-the-scheduled-android-notification/35342066#35342066
2018-04-10 15:41:55 +02:00
Elliot Hesp a0f8443593
Merge pull request #955 from Bhullnatik/fix-android/content-url
Fix contentUrl in AdRequest on Android
2018-04-10 10:06:36 +01:00
Jimmy Mayoukou 2853d77935 Fix contentUrl in AdRequest on Android 2018-04-10 11:03:51 +02:00
Chris Bianca 5486f55da3
Merge pull request #945 from bm-software/master
New typings
2018-04-10 09:52:33 +02:00
Salakar 3ff1f56041 [tests] added additional coverage excludes 2018-04-09 20:53:43 +01:00
Salakar 32352a4a1e [tests] misc mocha opts 2018-04-09 20:53:25 +01:00
Salakar 4fd2e74cb2 [tests][config] add platform conditional for setDefaultsFromResource (android expects a double) 2018-04-09 20:53:06 +01:00
Salakar 88f2a7858f [tests] replace console.log so we can skip deprecation warnings during testing 2018-04-09 20:11:49 +01:00
Salakar e4bac7bb67 [tests][analytics] rewrite analytics tests - now at 100% coverage 2018-04-09 20:05:04 +01:00
Salakar feec632306 [tests][auth] more tests - coverage now > 95% 2018-04-09 19:32:41 +01:00
Salakar 53bb38c3a4 [tests][config] remove test focus - woops 2018-04-09 19:04:09 +01:00
Salakar 5b1757ec5a [tests][core] added app.toString() usage in tests 2018-04-09 19:03:27 +01:00
Salakar 5c2ea9728b [tests][firestore] misc transactions 2018-04-09 19:03:07 +01:00