-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(app, android): put app init provider / registrar in correct manifest
local inspection of merged manifest indicated they were not being included as thought, moving them to this manifest shows they are being included
- Loading branch information
Showing
2 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest package="io.invertase.firebase" /> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="io.invertase.firebase"> | ||
|
||
<application> | ||
<service android:name="com.google.firebase.components.ComponentDiscoveryService"> | ||
<meta-data | ||
android:name="com.google.firebase.components:io.invertase.firebase.app.ReactNativeFirebaseAppRegistrar" | ||
android:value="com.google.firebase.components.ComponentRegistrar" /> | ||
</service> | ||
<provider | ||
android:name="io.invertase.firebase.app.ReactNativeFirebaseAppInitProvider" | ||
android:authorities="${applicationId}.reactnativefirebaseappinitprovider" | ||
android:exported="false" | ||
android:initOrder="99" /> <!-- Firebase = 100, using 99 to run after Firebase initialises (highest first) --> | ||
</application> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,2 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="io.invertase.firebase"> | ||
|
||
<application> | ||
<service android:name="com.google.firebase.components.ComponentDiscoveryService"> | ||
<meta-data | ||
android:name="com.google.firebase.components:io.invertase.firebase.app.ReactNativeFirebaseAppRegistrar" | ||
android:value="com.google.firebase.components.ComponentRegistrar" /> | ||
</service> | ||
<provider | ||
android:name="io.invertase.firebase.app.ReactNativeFirebaseAppInitProvider" | ||
android:authorities="${applicationId}.reactnativefirebaseappinitprovider" | ||
android:exported="false" | ||
android:initOrder="99" /> <!-- Firebase = 100, using 99 to run after Firebase initialises (highest first) --> | ||
</application> | ||
</manifest> | ||
<manifest package="io.invertase.firebase" /> |
8408160
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
react-native-firebase – ./
react-native-firebase-git-master-invertase.vercel.app
react-native-firebase-invertase.vercel.app
react-native-firebase.vercel.app
rnfirebase.io