Commit Graph
27 Commits
Author SHA1 Message Date
Sebastian Schmidt c6bde890ce Adding Multi-Resource support to the Firebase iOS SDK (#278)
* Adding Multi-Resource support to the Firebase iOS SDK.

This CL also makes RepoInfo hashable and simplifies RepoManager based on this.
2017-09-15 16:45:46 -07:00
Sebastian Schmidt 06a7c4f330 Update CHANGELOG.md (#280) 2017-09-15 16:44:04 -07:00
Sebastian Schmidt f0442122d3 Don't delete apps that don't exist (#276) 2017-09-15 12:11:33 -07:00
Paul Beusterien 1c97e8266a Move mugs derived code to third_party with proper LICENSE (#247) 2017-09-13 15:35:01 -07:00
Sebastian Schmidt 371e00d382 Update CHANGELOG.md for Database (#261)
* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2017-09-13 10:16:04 -07:00
Sebastian Schmidt 1df4f7287d Fixing the session identifier for non-default apps (#240) 2017-09-06 16:07:13 -07:00
Ryan Wilson f70eee41f9 Update Changelog for 4.0.2 release. (#217) 2017-08-25 14:01:37 -07:00
Ryan Wilson 566665e3bb Delete app from Database when deleted in Core. (#194)
* Delete an app from Database when deleted in Core.

When a FIRApp is deleted in Core, it should also be deleted from
the instances array in Database.

See #160 for more details.

* Add tests for deleting databases.

* Add call to clean up deleted FIRDatabase instance.
2017-08-17 11:15:25 -04:00
Sebastian Schmidt 55476604aa Inlcuding bandwidth usage in error message for queries without indexes (#201) 2017-08-16 19:08:43 -07:00
Sebastian Schmidt 974680084d Adding ChangeLogs for Storage and Database (#184) 2017-08-07 18:25:38 -07:00
Ryan Wilson 6e00706604 Move Auth notification constant into Core. (#155)
* Move Auth notification constant into Core.

SDKs that want to listen for the internal Auth notifications needed
to copy the notification strings to their own SDK instead of relying
on Auth's definition in order to avoid a dependency on Auth. By moving
them to Core, SDKs can use the constants without taking on another
dependency.

* Remove Auth stub, add app instance to notification.
2017-08-04 15:42:14 -07:00
Paul Beusterien 0abd344434 Add clang-format options and script; apply to FirebaseCore (#151) 2017-07-27 11:02:39 -07:00
Sebastian Schmidt 4a22dc2a18 Purge persistence cache if we can't load from it (#153)
* Purge persistence cache if we can't load from it

* Adding unit test

* Review comments
2017-07-26 13:50:34 -07:00
Paul Beusterien 053b2f11ea Use modulemap to fix exposure of FirebaseCore's internal headers (#121) 2017-07-10 14:57:03 -07:00
Paul Beusterien ddbfd4cc66 Add travis trailing whitespace check (#116)
* Add travis trailing whitespace check

* Remove trailing white space
2017-06-30 13:47:37 -04:00
Paul Beusterien c33bdff405 Group public headers into Public directories (#112) 2017-06-29 12:03:45 -07:00
Josep Sayol 986199d5a3 Fix comment in FPruneForest (#111) 2017-06-29 09:56:39 -07:00
Sebastian Schmidt c67a8bdc58 Fixing parsing for double numbers (#107)
NSJSONSerialization parses long values as doubles and returns NSNumber that are backed by doubles to the users. For NSNumbers that can be stored as longs, we can overwrite this behavior by re-running the initialization step.
2017-06-27 10:04:47 -07:00
Sebastian Schmidt 9917869191 Not sending messages to closed websocket connections (#99)
I believe this should be a safe change since the timer function nop is only ever run after the websocket is initialized.
This works around potential issues in the websocket layer after we close the connection and hopefully addresses https://b.corp.google.com/issues/62363018x
2017-06-22 14:30:56 -07:00
Paul Beusterien 0297375121 Rename FirebaseDev to FirebaseCommunity (#98) 2017-06-22 13:08:35 -07:00
Paul Beusterien aac64a63ae Add Foundation import so TARGET_OS_IOS or other TARGET_OS_* gets defined (#71) 2017-06-06 17:00:20 -07:00
Paul Beusterien 6bf24632ed Add missing terminating newlines (#70) 2017-06-06 12:16:58 -07:00
Mathew Huusko V 5c59342e6e macOS (#38)
* Example/Core: create macOS app/tests target

* Example/Core: Core_Example/Tests -> Core_Example/Tests_iOS

* Example/Core: macOS building/tests passing

* Example/Database: separate iOS/macOS targets

* BuildFrameworks: macOS

* .travis.yml, test.sh: AllUnitTests -> AllUnitTests_iOS

* test.sh: add AllUnitTests_macOS

* Example/Storage: Example/Tests->_iOS

* Example/Storage: macOS

* test.sh: try to prevent double error 65

* test.sh: build before test

* Example/Auth|Messaging: -> _iOS

* Example/Auth: macOS build

* Example/Auth: macOS passing

* Example/Firebase: pod de/re-integrate; fix static DerivedData references; copy phase for OCMock

* Example/Firebase: manually copied OCMock, Products Dir vs. Frameworks

* Example/Firebase: copied OCMock, prevent header removal

* Example/Storage: integration tests sdk fix

* Example/Auth: macOS exclude FIRAuthAppCredentialManager; cleanup

* Firebase/Core: remove nullability annotation

* Firebase/Core|Database: correct TARGET_X usage for correctness and anticipation of OS_WATCH|TV branches

* build.swift: style fix

* Firebase/Core: FIRLogger: fix macOS intermittent va_list error
2017-06-02 10:42:17 -07:00
Andrew Breckenridge 96859c6c70 mark FIRDatabase init unavailable (#48)
FIRDatabase's initializer is inherited from NSObject and causes subtle bugs if called. See https://github.com/firebase/firebase-ios-sdk/issues/31
2017-06-01 10:35:38 -07:00
Xiangtian Dai 7ac4caa016 Uses official Firebase Auth product names in code and doc. (#32)
Also fixes minor leftovers from previous auth crendetial refactory.
2017-05-26 17:08:45 -07:00
Ryan Wilson 6a850b8cb1 Remove double commented lines. (#11) 2017-05-17 15:13:12 -07:00
Paul Beusterien 98ba64449a Initial 2017-05-15 12:27:07 -07:00