* Modifies unit tests to accommodate event ID check
* Extracts event ID from outgoing URL
* Addresses comments
Checks that the URL is rejected by the callback matcher without the event ID.
This removes the `FIRMessaging_FAIL` macro which was using `__builtin_trap()`, and replaced with `NSAssert` calls. These `NSAssert` calls may not get called in release builds, and so we also log them with FIRLogger error messages.
The RMQ database open error result code is now parsed and included in the error message to help us identify causes for #199 .
* Removes canHandleURL from FIRAuthInternal
Removes canHandleURL from FIRAuth_Internal and makes small modification to FIRPhoneAuthProvider unit test.
* Addresses comment
* 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.
* APNs token handling improvements.
- Calls VerifyClient without token anyway if the APNs token cannot be retrieved.
This allows server to use discretion if needed in future. The developer will
receive the same error as before.
- Moves token formatting code to the token class itself to make the main logic
in the provider class more clear. This also eliminates duplicated code in the
sample app.
* Adds a comment about a string constant used in test.
* Adds passing state and continue URL in OOBCodes actions. (#82)
* Adds actionCodeSettings class (#83)
* Adds FIRActionCodeSettings class
* Removes iOSAppStoreId to reflect update spec.
* Adds “reset password in app” to sample app (#84)
* Adds “reset password in app” to sample app
* Addresses comments
* Addresses comments
* Adds @param documentation for actionCodeSettings (#85)
Adds @param documentation for actionCodeSettings in FIRGetOOBConfirmationCodeRequest.
* Adds request configuration class
Adds a class that will comprise of all configurations needed to make a request to the Firebase Auth backend; including APIKey and Language code in the future.
* Addresses comments.
* Adds Setting Language
Add Setting Language Feature to Firebase Auth.
- Only adds support for two languages (English and Spanish) in this change. (Also supports two languages in test), more to come after this change is accepted.
- For now sample app tests language setting only when using “reset password in app” option, the email sent will be in the current app language. Additional tests to come after change is accepted.
* Amends code for unit tests
Will add more comprehensive testing when code accepted.
* Ecodes strings files in UTF-8
* Addresses comments
* Addresses comments
* Remove comments in .strings
* Adds remaining TC languages to Firebase Auth.
* Add line break to .strings files
* remove language code english fallback
Remove the fallback that sends “en” as the language code to the backend if no language code is specified.
* addresses comment
* Fixes FIRSecureToken Crash
Integrates FIRSecureTokenService and FIRSecureTokenRequest with FIRAuthRequestConfiguration.
* Addresses comment
* Add auth language input
Adds Auth language input to the Sample App in preparation for manual testing.
* removes unnecessary comment
* address comments
* Add app language option
Allow user to set the current app language code as the auth language code. This is in preparation for manual testing before release.
* Addresses Comment
* Adds missing continue URI
Adds missing continue URL to Firebear error handling.
* Remove unused line
Removes unused line from FIRPhoneAuthProvider.m
* Moves the new public header to the right place.
* Fixes broken macOS build.
* Removes trailing spaces.
* Addresses review comments.
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.
This got lost in the transfer to new Xcode targets. The reasons why Messaging iOS has a specific bundle id is that this bundle is whitelisted for internal Google development, making it easier for folks that work on FCM to test with this app.