Chris Bianca
9a17379e0e
[auth][js] Add in `onUserChanged` method
2017-10-27 14:05:19 +01:00
Chris Bianca
e535a1ebaa
[auth][js] Rename a few methods to make it easier to follow
2017-10-27 11:55:00 +01:00
Chris Bianca
807e581ec7
[auth][android][js] Stop removing all listeners when using phone auth
2017-10-27 11:54:36 +01:00
Chris Bianca
31594756cc
[auth] Simplify onAuthStateChanges and interceptUserValue to aid debugging
2017-10-27 11:00:06 +01:00
Chris Bianca
403a7eefa0
[firestore] Use ms instead of ISOString for date conversion
2017-10-24 09:09:48 +01:00
Chris Bianca
9822cb34d4
[database] Correctly differentiate limitToLast and other similar clauses
2017-10-23 17:03:49 +01:00
Chris Bianca
3d57cdc634
Merge branch 'v3.0.x'
...
# Conflicts:
# docs/modules/authentication.md
# package.json
2017-10-23 09:24:45 +01:00
Elliot Hesp
9e8281c39a
[admob] move native component to singleton
2017-10-23 09:22:06 +01:00
Salakar
6d9ffb16a0
fix for #529
2017-10-23 09:22:06 +01:00
Elliot Hesp
54c92d0640
[admob] move native component to singleton
2017-10-20 19:39:45 +01:00
Salakar
ffabe56b90
fix for #529
2017-10-19 14:46:02 +01:00
Chris Bianca
bc1e827273
[database][js] Fix strict mode issue
2017-10-18 10:40:18 +01:00
Chris Bianca
31854bae5b
[auth] Update auth providers `providerId` to match official SDKs
2017-10-16 11:12:40 +01:00
chrisbianca
101a426307
Merge pull request #481 from rmrs/omer_links
...
Dynamic Links Support
2017-10-13 18:27:53 +01:00
Chris Bianca
c3d44d6c74
[firestore] Correctly handle `undefined` values
2017-10-13 09:05:57 +01:00
Benjamin Schell
2a509fe9c2
Update ConfirmationResult.js
...
Fix bug in ConfirmationResult.js: [ReferenceError: Can't find variable: _verificationId]
2017-10-12 14:46:10 -04:00
David Künnen
cf1ac63d2c
[firestore] Fix _metadata not defined error in DocumentSnapshot
2017-10-12 18:22:48 +02:00
Chris Bianca
f348ba8a8c
[firestore] Support FieldValue.delete() and FieldValue.serverTimestamp()
2017-10-12 09:00:46 +01:00
Chris Bianca
a89e741581
[firestore] Bring document change in sync with web sdk
2017-10-10 17:48:53 +01:00
Chris Bianca
76d77da2e5
[firestore][android] Finish type mapping work for Android
2017-10-10 15:36:08 +01:00
Omer Levy
fbdc733d53
flatten dynamicLinkInfo to the top-level, move the mandatory keys validation to the javascript from the native modules and some minor fixes
2017-10-10 16:22:03 +03:00
Omer Levy
08d467ff4d
take out validateParameters from Links class
2017-10-09 23:53:53 +03:00
Omer Levy
a085733e03
move invalid parameters validation to javascript and remove validation from android
2017-10-09 03:42:57 +03:00
Chris Bianca
1c81da466c
Merge commit 'bc92ace8edef9d5ae4f9e5d6af5eccb8cfca4443' into firestore-types
...
# Conflicts:
# android/src/main/java/io/invertase/firebase/firestore/FirestoreSerialize.java
2017-10-08 19:44:39 +01:00
Chris Bianca
fac2272ac3
[firestore][android] Start work on type conversion to support DocumentReference, GeoPoint, Date, etc
2017-10-08 19:40:46 +01:00
Omer Levy
9758c99537
[docs] dynamic links docs fixes
2017-10-08 18:43:59 +03:00
Omer Levy
af47f7ca03
merge master into omer_links
2017-10-08 03:52:19 +03:00
Salakar
4f5fdda1f0
[utils] remove rn48 breaking support issue
2017-10-07 13:14:45 +01:00
Salakar
10247e067d
[utils] misc code comment
2017-10-07 03:53:20 +01:00
Salakar
f0fe05b0c6
[utils] misc
2017-10-07 03:15:46 +01:00
Salakar
e74b760288
[utils] move play services check
2017-10-07 03:09:05 +01:00
Salakar
11da976a0a
[internals][utils] added play services red box string creator
2017-10-07 03:06:29 +01:00
Salakar
3d360348d5
[utils] run play services check automatically after any module usage - once
2017-10-07 01:49:12 +01:00
Salakar
08fae27f70
[flow] update GoogleApiAvailabilityType to include 'hasResolution'
2017-10-07 01:31:32 +01:00
Salakar
a090bd3480
[android][utils] new utils() module - home of all non firebase utilities and library configuration options, including play services availability checks
2017-10-07 00:24:00 +01:00
Salakar
7b68d2c660
Merge remote-tracking branch 'origin/master'
2017-10-06 14:41:26 +01:00
Salakar
c4e19c4462
#451 , round 2
2017-10-06 14:41:13 +01:00
Chris Bianca
46136e6c4d
[firestore] Support `update` variations on DocumentReference and WriteBatch
2017-10-06 12:36:41 +01:00
Chris Bianca
2575fb4956
[firestore] Support all `onSnapshot` parameter options
2017-10-06 12:00:40 +01:00
Omer Levy
9e26d042d3
merge master into omer_links
2017-10-05 20:07:24 +03:00
Salakar
658821a631
[database] misc todo note
2017-10-05 12:53:47 +01:00
Salakar
a8aaee7274
Merge remote-tracking branch 'origin/master'
2017-10-05 12:46:01 +01:00
Salakar
701491df18
[database] serverTimeOffset
2017-10-05 12:45:54 +01:00
Chris Bianca
f350c2b3ed
[firestore] Add metadata and bring methods in sync with web SDK reference
2017-10-05 10:18:24 +01:00
Chris Bianca
5e404ca31d
Merge commit '0470f4f4fcf74407ad1e070091c4a542dc8378a5'
...
# Conflicts:
# tests/ios/Podfile.lock
2017-10-03 15:34:08 +01:00
Salakar
4f6c387e3e
[core][app][js] remove delete() app method as it only works on ios, wait for android sdk support.
2017-10-03 13:39:55 +01:00
Chris Bianca
51074efdca
Merge commit '49d29b53f21e530f5c918e472db93ee856947426'
2017-10-03 10:33:18 +01:00
Chris Bianca
22f7d77f54
[firestore] Add collection `onSnapshot` support
2017-10-03 10:12:25 +01:00
Salakar
fd1ac6c2b7
[messaging] Fix for #451
2017-10-03 09:49:46 +01:00
Chris Bianca
cda1c27b5c
[firestore][android][js] Add document `onSnapshot` support plus tests
2017-10-02 13:11:38 +01:00
Salakar
904468271d
[auth] don't send timeout to native if ios - only on android
2017-10-02 09:46:34 +01:00
Omer Levy
6c2c11ebb2
Merge branch 'master' into omer_links
2017-10-01 13:30:25 +03:00
Omer Levy
af4ce2a2ca
align links to v3
2017-10-01 02:50:37 +03:00
Omer Levy
3db6a1839b
merge master into omer_links
2017-10-01 02:17:22 +03:00
Salakar
d7a832b7c7
[auth] fix incorrect arguments
2017-09-30 20:07:00 +01:00
Salakar
6a78cac3be
[auth][js] fixed incorrect timeout value - should be seconds not ms
2017-09-29 11:36:45 +01:00
Chris Bianca
6060c36c1c
[firestore][ios] Add initial iOS functionality
2017-09-28 13:48:28 +01:00
Chris Bianca
867a08da7b
[firestore][android] Resolve a few issues with basic operations
2017-09-27 17:20:32 +01:00
Chris Bianca
bf35c349ae
[firestore][tests] Get first collection tests working on Android
2017-09-27 15:41:25 +01:00
Chris Bianca
52b70d58e3
[android] Add the first raft of Android support
2017-09-27 12:57:53 +01:00
Michele Bombardi
e6cb5fed60
deleteInstanceId feature (Android only)
2017-09-26 16:33:20 +02:00
Chris Bianca
dfd9080281
[firestore][js] First pass of javascript implementation
2017-09-26 14:57:25 +01:00
Salakar
b53bf5bbe8
misc cleanup of redundant code + flow type fixes
2017-09-25 23:19:13 +01:00
Salakar
1d0dffbefe
[auth] convert native error object in phoneAuthListener to js error + misc flow typings/fixes
2017-09-25 23:07:27 +01:00
Salakar
c4e2414295
[auth] added phone_auth_state_changed event fan out listener
2017-09-25 23:06:13 +01:00
Salakar
c4472cf8e7
[flow] misc warnings
2017-09-25 23:05:07 +01:00
Salakar
3cde0e93d9
[flow] fix misc flow warnings
2017-09-25 21:29:40 +01:00
Salakar
0ac9513863
[auth] add new phone auth event to ModuleBase
2017-09-25 15:58:49 +01:00
Salakar
3f681ac065
[flow] fixed flow errors in ModuleBase
2017-09-25 15:38:54 +01:00
Salakar
261edf7a83
[auth] correctly send timeout value to native method `verifyPhoneNumber`
2017-09-24 16:35:44 +01:00
Salakar
c8a37f6282
[auth] update provider constructor errors
2017-09-24 16:35:15 +01:00
Salakar
61d963ad62
Merge branch 'master' of https://github.com/invertase/react-native-firebase
2017-09-24 13:58:03 +01:00
Salakar
fd788b9d5d
[auth] add verifyPhoneNumber
2017-09-24 13:57:59 +01:00
Salakar
43e17f4b16
[auth] first implementation of PhoneAuthListener
2017-09-24 13:54:10 +01:00
Salakar
0984f6d680
[auth] constructing an new instance of an auth provider class will now throw an unsupported error
2017-09-24 13:50:00 +01:00
Salakar
0f1801c825
[flow] fix CredentialType provider/providerId
2017-09-24 13:29:28 +01:00
Salakar
3316a61bbb
isIOS and isAndroid utils are now constants instead of functions
2017-09-24 13:19:24 +01:00
Salakar
a242df1daa
added additional internal string helpers for missing/invalid args
2017-09-24 13:18:39 +01:00
Salakar
c2ce379b2c
fixed invalid references to native module 'FirebaseAuth' and added phone auth statics
2017-09-24 13:17:20 +01:00
hjumeau
76781479b6
[auth][unlink] Call native function instead of 'FirebaseAuth'
2017-09-23 23:34:40 +02:00
Salakar
75dfae369a
remove flow rn declare statement
2017-09-23 18:26:19 +01:00
Salakar
2755fd2433
[internals] added isIOS / isAndroid utils
2017-09-23 18:25:48 +01:00
Salakar
5864481781
add
2017-09-23 18:16:43 +01:00
Chris Bianca
83faa86333
[auth] Add unsupported method errors for auth() and User
2017-09-23 16:14:35 +01:00
Chris Bianca
902ee98617
[auth] Update providers to match web spec
2017-09-21 17:42:09 +01:00
Chris Bianca
5dba443588
[auth] Fix event name
2017-09-21 17:11:17 +01:00
Chris Bianca
c59d64054d
[auth] Add onIdTokenChanged method
2017-09-21 16:48:54 +01:00
Salakar
ef16ed1d4b
remove invalid return from thenable
2017-09-20 11:53:50 +01:00
Michael Diarmid
d23c048304
Fix ThenanbleRef promise
2017-09-20 11:50:34 +01:00
Omer Levy
d4a1304bea
temporary disable link registration, methods rename, undo prettify in lib/firebase.js
2017-09-09 21:49:45 +03:00
Salakar
557face5eb
[js][database] fix OnDisconnect incorrectly being constructed + added misc typings
2017-09-07 16:36:47 +01:00
Omer Levy
d3912fbc3e
[android] Support RN 0.47.0 breaking changes and align to REST API
2017-09-01 17:51:42 +03:00
Omer Levy
79090f59a6
Merge commit 'a129994' into omer_links
2017-08-31 19:19:25 +03:00
Salakar
63e417fae3
[db][js] fix modifiers not returning new ref instance
2017-08-28 13:28:16 +01:00
Salakar
5744a2ef56
[core] add extendApp support - added description/link
2017-08-26 23:47:31 +01:00
Salakar
67dc829427
[core] add extendApp support
2017-08-26 23:41:59 +01:00
Salakar
88e29bb8ff
[js][utils] disable eslint for fb emitter files
2017-08-26 02:48:51 +01:00
Chris Bianca
c3f32e54e3
[db] Clean up old files
2017-08-25 17:38:24 +01:00
Chris Bianca
d5de6a5b21
[db] Correctly named module for statics
2017-08-25 17:37:52 +01:00
Chris Bianca
0d117f6827
[js] Embed FB’s EventEmitter to prevent haste issues
2017-08-25 15:30:17 +01:00
Chris Bianca
81b631f111
[android] Phone auth implementation
2017-08-25 12:16:23 +01:00
Salakar
93079c2f01
[auth][js][android] remove EE based phone auth implementation
2017-08-23 23:19:11 +01:00
Salakar
a0f638efa1
[core] fix app name issue
2017-08-23 11:18:51 +01:00
Salakar
a0e1f744ba
merge from master
2017-08-22 17:35:25 +01:00
Omer Levy
64fb4c1889
Add short links creation
2017-08-21 19:20:44 +03:00
Ben Richards
c1b9b5d532
moved EventTypes to new file to avoid enumerable key in AdMobComponent.propTypes
2017-08-20 22:58:40 -07:00
Omer Levy
b714b0a4d9
Add Long links creation
2017-08-20 17:57:06 +03:00
Salakar
fd474d5adb
[android][auth] phoneAuth via EE implementation
2017-08-19 05:22:07 +01:00
Salakar
92504580e5
[js][internals] updated nativeToJSError util to exclude itself from error stacks
2017-08-19 05:18:34 +01:00
Salakar
6a8656f428
[js][qol] added missing module detection and associated generated red box guides
2017-08-18 21:05:47 +01:00
Salakar
9825226665
[js][internals] _NAMESPACE & _NATIVE_MODULE static props for all modules
2017-08-17 17:58:28 +01:00
Salakar
b4cdbef593
[js][internals] _NATIVE_MODULE mapping for `nativeModuleExists`
2017-08-17 17:25:13 +01:00
Salakar
5ccbd9f369
[js][database] synctree cleanup
2017-08-16 21:43:24 +01:00
Salakar
e4d27029b9
[js][android] database sync tree implementation with adjusted tests
2017-08-15 21:29:50 +01:00
Salakar
67985f8e90
[js][core] added `nativeModuleExists` property to all module statics - true or false if the native android/ios module is present
2017-08-15 17:28:51 +01:00
Salakar
491b61afad
[js][database] nativeToJSError util can now attach addition props to the error - e.g. ref path
2017-08-14 18:43:21 +01:00
Salakar
c6a26606d1
[js][database] fixed an issue where thenable ref promise would sometimes cause other promises to hang - no idea why ;p
2017-08-14 18:42:39 +01:00
Salakar
dedfa48aa0
[js][database] _handleCancelEvent completed - now correctly handles cancellation events from .on()
2017-08-14 18:41:50 +01:00
Salakar
156e1a431c
[storage][js] update ref.toString - removed extra `/` and added `gs://` prefix
2017-08-14 14:11:17 +01:00
Salakar
56fc189d26
[storage][js] update ref.toString to now correctly return the full bucket path to the ref location
2017-08-14 14:06:37 +01:00
Salakar
534a52d16a
[database][js] remove unused import
2017-08-14 14:01:10 +01:00
Salakar
f90db16019
[database][js] ref.isEqual() now correctly compares query modifiers
2017-08-14 13:51:52 +01:00
Salakar
e1fc30bc8f
[database][js] thenable ref fix for #147
2017-08-14 13:30:44 +01:00
Salakar
f1709970e9
[database][wip] on/off logic refactor - heavily still wip so things still to change
2017-08-14 11:05:49 +01:00
Salakar
0675aa076d
Merge branch 'master' of https://github.com/invertase/react-native-firebase into v3
...
# Conflicts:
# ios/RNFirebase/admob/RNFirebaseAdMob.m
# ios/RNFirebase/database/RNFirebaseDatabase.h
# ios/RNFirebase/database/RNFirebaseDatabaseReference.m
# lib/modules/admob/index.js
# tests/ios/Podfile.lock
2017-08-12 19:07:51 +01:00
Salakar
ac258681bc
Merge branch 'master' of https://github.com/invertase/react-native-firebase into v3
...
# Conflicts:
# ios/RNFirebase/admob/RNFirebaseAdMob.m
# ios/RNFirebase/database/RNFirebaseDatabase.h
# ios/RNFirebase/database/RNFirebaseDatabaseReference.m
# lib/modules/admob/index.js
# tests/ios/Podfile.lock
2017-08-11 17:37:12 +01:00
Salakar
5e3cf0ad7f
[js][database] todo comments
2017-08-11 15:58:42 +01:00
Elliot Hesp
0c69eb5237
[admob] Remove unused static method
2017-08-11 11:22:05 +01:00
Salakar
425dfbcc43
[js][database] once now supports passing context - as per the web sdk
2017-08-07 09:46:05 +01:00
Salakar
fb6251a6fd
[js][database] cleanup transaction completion wrapper
2017-08-05 22:00:06 +01:00
Salakar
53acfe3584
[js][database] remove, update, setWithPriority, setPriority & set now correctly support callbacks or promises
...
[js][database] fixed query modifier methods - were accessing incorrect query property
2017-08-05 21:49:28 +01:00
Salakar
d2909be7eb
[js][database] fixed an issue where query methods were not returning correctly
2017-08-05 21:45:15 +01:00
Salakar
b935034592
[database][wip] misc multi-app
2017-08-02 10:38:30 +01:00
Salakar
c9efb0087f
[database][wip] update reference to support 'ThenableReference'
2017-07-31 18:25:31 +01:00
Salakar
e3d1261973
[database][wip] refactor & improvements to add support for multiple apps
2017-07-30 07:34:41 +01:00
Salakar
33470419ed
Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps
2017-07-20 09:59:52 +01:00
Chris Bianca
46772d253d
[android][ios][database] Add missing setPriority and setWithPriority methods
2017-07-19 18:18:16 +01:00
Chris Bianca
18b9a25ed5
[links] Start work on DynamicLinks support
2017-07-19 12:32:17 +01:00
Salakar
267f908c62
[core][js] misc cleanup/validation
2017-07-18 06:04:12 +01:00
Salakar
294ee0062d
[messaging][js] fixed EE issue
2017-07-18 06:03:35 +01:00
Salakar
03377255f6
[core][both] added delete app method (android is just a stub method as the firebase sdk does not support it)
2017-07-18 06:02:53 +01:00
Salakar
d8fee7f5cb
[auth][ios] finalised auth changed listener logic
2017-07-17 20:56:08 +01:00
Salakar
2d744b162e
[tests] update firebase helper to initialize additional apps
2017-07-17 19:44:47 +01:00
Salakar
813b91f5ad
[ios][app] apps initialized natively now automatically initialized js side - via react module getConstants
2017-07-17 18:20:27 +01:00
Salakar
9a3e22431b
[android][app] apps initialized natively now automatically initialized js side - via react module getConstants
2017-07-17 17:36:50 +01:00
Salakar
ef259fbbc0
Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps
2017-07-17 17:35:16 +01:00
Salakar
97447dab5e
[android][auth] implemented missing 'unlink' method
2017-07-12 16:26:02 +01:00
Salakar
91b7281d45
[both] re-enabled analytics, admob, crash & perf modules
2017-07-12 16:11:07 +01:00
Salakar
282f953f52
[both] continued work on multi app support - storage now full supported and auth WIP
2017-07-12 15:49:33 +01:00
Salakar
c6773dc808
Merge branch 'master' of https://github.com/invertase/react-native-firebase into multi-apps
...
# Conflicts:
# android/src/main/java/io/invertase/firebase/auth/RNFirebaseAuth.java
2017-07-12 13:39:29 +01:00
Elliot Hesp
d4328f3adb
Merge branch 'master' of github.com:invertase/react-native-firebase
2017-07-06 10:22:23 +01:00
Elliot Hesp
22e511209a
[admob] temp fix for duplicate subscriptions
2017-07-06 10:21:32 +01:00
Salakar
fd93d24e1a
[js][ios][android][auth] checkActionCode implemented
2017-07-05 14:56:18 +01:00
Salakar
08f4f0c97b
[js][ios][android][auth] applyActionCode implemented
2017-07-05 14:16:35 +01:00
Salakar
0dda8d9174
[js][ios][android][auth] confirmPasswordReset implemented
2017-07-04 18:22:18 +01:00
Salakar
333c449ab4
Merge branch 'master' of https://github.com/invertase/react-native-firebase
2017-07-04 16:19:52 +01:00
Salakar
d1196b98c4
[both][database] Fixed an issue where the reference from a child snapshot was being returned as the parent snapshot when listening to child events
2017-07-04 16:16:08 +01:00
Elliot Hesp
ce0934d44c
Merge branch 'master' of github.com:invertase/react-native-firebase
2017-07-04 15:40:03 +01:00
Elliot Hesp
92b3860230
[admob][ios] Fix an issue whereby interstitials on iOS could not be reused with the same adUnit ID
2017-07-04 15:39:56 +01:00
Salakar
f97db8eba1
more work on multiple apps support
2017-07-04 13:05:19 +01:00
Salakar
ec22e510bc
more work on multiple app initialization
2017-06-30 17:23:32 +01:00
Salakar
80ae8425ce
started work on multiple app initialization
2017-06-29 17:24:34 +01:00
Elliot Hesp
931a7943a1
Merge pull request #207 from hayanmind/feature/fix-crash-report
...
[crash] Support javascript plain error object in crash.report
2017-06-27 20:18:53 +01:00
Elliot Hesp
c22fb3911f
[admob] Add openDebugMenu support
2017-06-27 15:14:02 +01:00
Daehoon Kim
78262dcb32
Support javascript plain error object in crash.report
2017-06-26 14:30:17 +09:00
Elliot Hesp
7e3042cc92
Merge branch 'v2' of github.com:invertase/react-native-firebase into v2
2017-06-20 13:22:24 +01:00
Elliot Hesp
52d94763bb
[ios][admob] Check AdMob exists
2017-06-20 13:22:09 +01:00
Elliot Hesp
54bf957cb3
[admob] Support 11.0 VideoController methods
2017-06-20 12:19:26 +01:00
Chris Bianca
cd347383a4
[messaging] Correctly bind messaging listeners
2017-06-19 13:14:36 +01:00
Chris Bianca
782958d026
[messaging] Update typescript definition to match interface changes
2017-06-19 12:26:10 +01:00
Elliot Hesp
02be8a0d84
Merge branch 'v2' of github.com:invertase/react-native-firebase into v2
2017-06-19 09:38:47 +01:00
Chris Bianca
96d122f943
[messaging] Return function to remove listeners for onTokenRefresh and onMessage
2017-06-19 09:21:15 +01:00
Elliot Hesp
d159d9bb6b
[ios][admob] Implement NativeExpress
2017-06-16 17:40:05 +01:00
Elliot Hesp
af5bf655fe
[ios][admob] Implement Banner
2017-06-16 15:20:34 +01:00
Elliot Hesp
3809fa8f63
[auth] Pass previousChildName back to callback
2017-06-15 14:55:52 +01:00
Michael Diarmid
0edb79243a
AuthResult fix
...
Fixes #144
2017-06-13 02:09:12 +01:00
Elliot Hesp
4c87131328
[crash][both] Add support for isCrashCollectionEnabled & setCrashCollectionEnabled
2017-06-12 14:26:56 +01:00
Elliot Hesp
9342a0e748
[admob][ios] Implement Rewarded Videos
2017-06-07 14:19:06 +01:00
Elliot Hesp
921eac06a4
[admob][ios] Finish up Interstitial with events + AdRequest handling
2017-06-07 12:37:32 +01:00
Elliot Hesp
ac2091d890
[admob] Provide a default request for Interstitials & Rewarded Videos
2017-06-07 12:36:04 +01:00
Elliot Hesp
c710f135ce
[admob][android] Support multiple test devices
2017-06-05 14:12:49 +01:00
Chris Bianca
d83e747b91
Merge commit '3f94ad5b99ef605a37062152f967ef36bbecef48' into v2
2017-06-05 09:59:28 +01:00
Richard B. Kaufman-López
eed9ccbfd4
Fixes flow error
2017-06-01 19:15:46 -05:00
Elliot Hesp
a6705dfb3d
[admob] Add tests
2017-06-01 11:15:37 +01:00
Elliot Hesp
e12567e57f
[admob][android] Add initialize method + documentation
2017-06-01 10:22:15 +01:00
Elliot Hesp
35aeef460f
Merge
2017-05-31 16:36:28 +01:00
Elliot Hesp
5a9a7ea556
[admob][android] Implement VideoOptions + AdRequest into all advert types
2017-05-31 16:33:08 +01:00
Chris Bianca
a162a0d6f5
[js] Couple of additional checks for module existence
2017-05-31 15:45:14 +01:00
Chris Bianca
a1cff881e1
[android][ios][js] Detect missing native module rather than using empty function
2017-05-31 15:22:15 +01:00
Chris Bianca
8c821e2612
[js] Only subscribe to auth if RNFirebaseAuth exists
2017-05-30 16:23:51 +01:00
Chris Bianca
b3cd102077
[js][db] Rename .listeners
2017-05-30 12:46:28 +01:00
Chris Bianca
ba24a80e09
[js] Fix permissions problem
2017-05-30 12:28:53 +01:00
Chris Bianca
f82897218f
[ios][js] Misc clean up
2017-05-30 11:44:06 +01:00
Chris Bianca
abc4de2257
[messaging][iOS] Tidy up messaging and bring it in inline with latest version of Firebase Messaging (4.0.0)
2017-05-30 08:26:40 +01:00
Elliot Hesp
5b39ab3efe
Cleanup utils
2017-05-27 17:31:00 +01:00
Elliot Hesp
e4ee402aef
[admob][android] Move RewardedEventTypes to statics
2017-05-27 17:27:22 +01:00
Elliot Hesp
9a944dffc5
Merge pull request #132 from invertase/admob
...
[admob][android] Implement RewardedVideo
2017-05-27 17:11:34 +01:00
Elliot Hesp
e6af87209a
[admob][android] Implement RewardedVideo
2017-05-27 17:03:40 +01:00
Elliot Hesp
4852cae988
[admob][android] Standardise adunit / adUnit
2017-05-27 17:03:09 +01:00
Elliot Hesp
9c2d4a73d6
[admob][android] Add dummy methods to AdRequest
2017-05-27 17:02:03 +01:00
Salakar
2993b9b697
[js][perf] remove logging - no logger attached to perf class so was red-boxing
2017-05-27 15:26:14 +01:00
Salakar
b7b4febe3f
[ios][admob] added stub modules
2017-05-27 15:24:51 +01:00
Michael Diarmid
5a62d9664b
Merge pull request #131 from invertase/admob
...
Admob -> v2 Branch
2017-05-27 13:23:37 +01:00
Elliot Hesp
608c1d8d6b
[admob][android] Start implementation of Rewarded Video
2017-05-26 22:19:20 +01:00
Elliot Hesp
d9adef31a5
[admob][android] Add util to convert code + message to JS Error
2017-05-26 17:56:04 +01:00
Elliot Hesp
1b8a2826ac
[admob][android] Implement shared event emitter @Salakar
2017-05-26 17:55:22 +01:00
Elliot Hesp
d75405dbab
[admob][android] Interstitial; Handle JS events from native
2017-05-26 17:54:09 +01:00
Elliot Hesp
0e47c57317
[admob][android] Add admob module to base firebase object
2017-05-26 15:19:48 +01:00
Elliot Hesp
dd1262ca86
[admob][android] Export interstitial JS module
2017-05-26 15:18:57 +01:00
Elliot Hesp
b1e9561633
[admob][android] Add custom Banner component wrapper
2017-05-26 15:18:09 +01:00
Salakar
6f81605616
[js][all] added nativeSDKMissing check for all modules - part of making all module native sdk's optional.
2017-05-25 23:39:06 +01:00
Elliot Hesp
18774bbb40
[admob][android] WIP Basic view
2017-05-25 17:00:53 +01:00
Elliot Hesp
154ff9bcf6
[auth] fetchProvidersForEmail Fix incorrect flow type
2017-05-25 15:30:39 +01:00
Elliot Hesp
45f8f4076d
[auth] Implemented fetchProvidersForEmail
2017-05-25 14:45:03 +01:00
Elliot Hesp
c609539747
[auth][js] Updated method names now removed/deprecated in the web SDK
2017-05-25 12:44:39 +01:00
Elliot Hesp
14199d6d10
Remove unused dep + file
2017-05-25 09:22:59 +01:00
Elliot Hesp
9ebda147f8
[perf][android] Add setPerformanceCollectionEnabled method
2017-05-25 08:41:43 +01:00
Elliot Hesp
4882123912
[perf] Linting fixes
2017-05-24 17:02:41 +01:00
Elliot Hesp
66d7e3c944
[perf][android] Add perf module
2017-05-24 12:37:52 +01:00
Elliot Hesp
fe8c486dcb
[config] Added setDefaultsFromResource method
2017-05-23 14:53:19 +01:00
Elliot Hesp
25e8bb6d5a
[config] Standardize ios & android
2017-05-23 14:08:59 +01:00
Elliot Hesp
b70eb274ee
Apply config() module to RNFirebase
2017-05-23 11:50:44 +01:00
Akshet Pandey
fdf60444fe
Implement Firebase Remote Config for iOS
2017-05-19 16:17:28 -07:00
Alexander Kuttig
db792b8857
Merge remote-tracking branch 'upstream/master'
...
# Conflicts:
# ios/RNFirebase/RNFirebase.h
# ios/RNFirebase/RNFirebaseAnalytics.h
# ios/RNFirebase/RNFirebaseAuth.h
# ios/RNFirebase/RNFirebaseCrash.h
# ios/RNFirebase/RNFirebaseDatabase.h
# ios/RNFirebase/RNFirebaseErrors.h
# ios/RNFirebase/RNFirebaseMessaging.h
# ios/RNFirebase/RNFirebaseStorage.h
2017-05-14 14:30:10 +02:00
Alexander Kuttig
c35ed6f49d
fixed storage task
2017-05-14 14:24:10 +02:00
Salakar
6c68d85261
[ios] added user `providerData` props
2017-05-12 13:13:17 +01:00
Salakar
e6bd721617
[js] removed unused import
2017-05-12 12:05:07 +01:00
Ben Styles
477bd2bf54
initial commit
2017-05-10 17:37:03 +01:00
Aleck Greenham
9d5cc856c7
[Database] Add more accurate comments of expected behaviour of Reference.on()
2017-05-09 08:09:03 +01:00
Aleck Greenham
8d665542cc
[Database] Standardise error messages and add context support for Reference.on()
...
- Make error messages raised by Reference.on() same as Web API
- Add support for context argument to Reference.on()
- Add tests for Reference.on()
- Add JSDoc comments for Reference.on() and some other minor methods
2017-05-06 14:33:55 +01:00
Salakar
ef783f0d9f
[js] crash and auth now use internal staticsOrInstance helper.
2017-05-02 10:39:23 +01:00
Ben Styles
80b519158f
fixed some flow and eslint errors
2017-04-28 11:03:12 +01:00
Ben Styles
6cee2609b1
fixed some flow and eslint errors
2017-04-28 10:27:29 +01:00
Chris Bianca
7f7d5e8ec7
[js] Fix database cleanup function
2017-04-26 17:52:16 +01:00
Chris Bianca
ef306162b4
[js][android] Support multiple listeners on a single ref
2017-04-26 12:21:53 +01:00
Aleck Greenham
3277126fb4
[js][database] Add ref().isEqual()
2017-04-22 18:00:05 +01:00
Aleck Greenham
3d863ac636
[js][database] Add ref property for consistency with web API
2017-04-22 09:27:37 +01:00
Alexander Kuttig
98b6d64836
fixed CrashReporting on iOS
...
added RNFirebaseCrash.h and RNFirebaseCrash.m to ios project and build target
Renamed lib/modules/crash class name from Analytics to Crash
2017-04-19 16:16:55 +02:00
Salakar
e6d2693f33
remove weird formatting
2017-04-19 11:30:08 +01:00
Chris Bianca
baa198ea7d
[js][android] Use GoogleApiAvailability to prompt the user to install Google Play Services if it is not installed
2017-04-10 09:50:42 +01:00
Salakar
bdf588e0e2
[js][android][ios][storage] uploadTask.on now correctly receives a success status event
2017-04-07 17:57:57 +01:00
Salakar
c83ba8b756
[js][storage] uploadTask.on now correctly handles next or observer args as per firebase web sdk
2017-04-07 16:15:53 +01:00
Salakar
d2a9bb7fa3
[js][auth] onAuthStateChange now correctly returns an instance of the User class.
2017-04-07 16:10:04 +01:00
Ben Styles
51a07fc4ee
flow fixes that change logic slightly
2017-04-04 17:58:47 +01:00
Ben Styles
5acea6d218
initial commit: basic flow errors
2017-04-04 17:58:20 +01:00
Salakar
343710dbf9
[js][ios][messaging] fixed misc messaging .send() types
2017-04-03 10:33:18 +01:00
Salakar
91e9263965
[js][ios][android][messaging] full implementation of upstream send including RemoteMessage builder
2017-03-30 16:25:27 +01:00
Salakar
48e57d2065
[ios][android][auth] getToken now correctly accepts forceRefresh argument. Fixes #21 .
2017-03-30 10:55:16 +01:00
Salakar
86512320f0
[js] move auth statics
2017-03-27 19:11:26 +01:00
Chris Bianca
e25dd05576
Fix iOS messaging issue
2017-03-27 13:26:26 +01:00
Salakar
bb6b1aa7f2
[android,js][database] transactions support implemented
2017-03-24 22:53:56 +00:00
Salakar
637afad444
[js][storage] misc comments
2017-03-23 00:54:19 +00:00
Salakar
f1655c1ea6
[js] fixed issue with StorageTask.then/.catch
2017-03-22 23:23:48 +00:00
Salakar
d15ae5cb27
[js] added firebase.storage.Native.* constants
2017-03-22 23:20:57 +00:00
Salakar
2c2766f767
[js] remove old code
2017-03-22 20:45:53 +00:00
Salakar
d9023f55b8
[js][statics] implemented staticsOrInstance helper - fixes #12
2017-03-22 20:15:02 +00:00
Salakar
2f12569c60
[js][storage] misc
2017-03-22 19:57:42 +00:00
Salakar
00889e1a69
[js][storage] switch to native promises
2017-03-22 19:46:08 +00:00
Salakar
d4c2f95cca
[ios,js] full fcm implementation, first draft for ios
2017-03-21 15:11:07 +00:00
Salakar
7650ae42e4
[android,js] misc messaging
2017-03-21 11:26:16 +00:00
Salakar
ea5d7d409f
[js][auth] implemented currentUser.updateProfile() method
2017-03-18 01:10:34 +00:00
Salakar
916224014d
[js][auth] implemented currentUser.updatePassword() method
2017-03-18 00:41:24 +00:00
Salakar
f5b604bfdd
[js][auth] added intercept to updateEmail
2017-03-18 00:31:28 +00:00
Salakar
5d67aaa9ef
[js] implement currentUser.reauthenticate(credential)
2017-03-18 00:04:47 +00:00
Salakar
52713426d1
[js] implemented remaining auth providers on auth() : auth(). EmailAuthProvider, GithubAuthProvider, FacebookAuthProvider, TwitterAuthProvider and GoogleAuthProvider
2017-03-17 23:51:26 +00:00
Salakar
9d520c4693
[js] misc flow fixes in auth
2017-03-17 23:40:12 +00:00
Salakar
856da83a80
[android, ios] first draft of full fcm implementation - ios still todo
2017-03-17 16:04:39 +00:00
Salakar
46c84581ca
firebase.crash().report() now accepts an error instead of a string, a string version of the error is generated before sending to native side.
2017-03-17 15:41:25 +00:00
Salakar
f5d0bd002a
[js] prefix snapshot internals with '_'
2017-03-16 16:48:03 +00:00
Salakar
9f5b132f38
[android, ios] currentUser.getToken() - now uses promise and correctly returns a string
2017-03-16 12:35:03 +00:00
Salakar
b6c406c7aa
[android] link/linkPassword
2017-03-16 12:19:34 +00:00
Salakar
afece365e4
[android] start of auth().currentUser methods refactor
2017-03-15 20:17:04 +00:00
Salakar
a780f9677d
[android] finished refactor of auth() methods, currentUser methods still TODO
2017-03-15 20:05:09 +00:00
Salakar
1acbff834f
[ios, android] fixed messaging() send() - now a promise on native - added stub method for ios as the existing one was empty
2017-03-15 14:00:28 +00:00
Salakar
cd4664fb68
[ios] fixed messaging getToken, listen/unlisten token refresh
2017-03-15 13:05:56 +00:00
Salakar
6d52b6d4d3
messaging().getToken now correctly returns a string on both platforms
2017-03-15 12:57:36 +00:00
Salakar
5c14dfeb3b
fix debug logging
2017-03-15 11:20:12 +00:00
Salakar
0914a9341c
[ios,android] WIP - moving auth to promises & fixing ios <-> android discrepancies
2017-03-14 19:04:16 +00:00
Salakar
b18a7a0d6a
switch ios onAuthStateChange handlers to new format
2017-03-14 10:57:57 +00:00
Salakar
efb07c47c7
- moved user methods out of auth class into user class
...
- lint/flow
2017-03-13 20:27:44 +00:00
Salakar
15167a4f81
added auth method result interceptor - grab user objects and shim into currentUser
2017-03-13 20:02:44 +00:00
Salakar
7710dd94a7
implement currentUser.toJSON() method
2017-03-13 20:01:45 +00:00
Salakar
2509e7484d
- switched signInAnonymously to use RN promises native side
...
- created helper to convert auth exceptions into cleaner web equivalent error codes/messages
2017-03-13 17:23:41 +00:00
Salakar
50d176427f
android/js: cleanup / remove redundant code
2017-03-10 18:12:46 +00:00
Chris Bianca
eab45d7dc8
Fix issues with Analytics
2017-03-10 14:43:09 +00:00
Chris Bianca
77a09f5810
Add Firebase Crash Reporting for iOS and Android
2017-03-10 14:18:07 +00:00
Salakar
f509dfedff
android: bump firebase version to 10.2.0
2017-03-10 10:46:55 +00:00
Salakar
ccd90666f5
js: snapshot now returns cloned objects/arrays of this.value
2017-03-09 18:45:42 +00:00
Salakar
178b2e1d99
js: snapshot comments / flow type additions
2017-03-09 18:18:10 +00:00
Salakar
834980f9dd
snapshot.forEach() now correctly implemented - now allows returning true to break iteration as per web sdk docs.
...
+ misc commenting / flow types
2017-03-09 17:53:35 +00:00
Salakar
da8a2ec645
misc snapshot
2017-03-09 17:18:48 +00:00
Salakar
e48e5c290e
js: snapshot class incorrectly defining 'exists' as a bool prop, instead of a function
2017-03-09 15:27:49 +00:00
Salakar
2d1015d205
js: change db error to match firebase web sdk error
2017-03-08 13:21:21 +00:00
Salakar
51c63b2f3e
js: cleanup error util
2017-03-07 17:35:48 +00:00
Salakar
a3f3cf930a
js: fixed promise rejected with non-error warning
2017-03-07 17:02:24 +00:00
Salakar
9b5aaae909
android: fixed promise rejected with non-error warning
2017-03-07 16:58:33 +00:00
Salakar
214928ba7f
android: fixed once and on error handling
2017-03-07 16:54:04 +00:00
Salakar
79bfc7ce09
typeOf check the actual value - derp
2017-03-02 13:10:10 +00:00
Salakar
7e8dbcbb35
dump of current js files
2017-03-02 13:09:41 +00:00
Salakar
11df5cb9ba
RNFirebase - messaging - js
2017-03-02 12:58:15 +00:00