This example demonstrates the use of React Native Firebase. Given that share extensions are separate iOS targets, they have their own bundle IDs, so we need to create a dedicated GoogleService-Info.plist in the Firebase console, just for the share extension target. The bundle ID of your share extension is your existing bundle ID with .ShareExtension
as the suffix, e.g. com.example.app.ShareExtension
.
[
"expo-share-extension",
{
"googleServicesFile": "./path-to-your-separate/GoogleService-Info.plist",
},
],
- Run Prebuild
npm run prebuild
- Start the app via Expo CLI
npm run ios
- or only start the metro server and build via XCode
npm run start