0

I'm trying to link my React Native iOS app with Firebase, and the first thing Firebase asks for is a bundle ID, which it says I can get from Xcode's "General" tab. However, I didn't make this app with Xcode; I made it in a Node.js environment with the create-react-native-app command, so it seems I don't have a bundle identifier. Unless I do? How can I proceed to link my app to Firebase?

Cœur
  • 37,241
  • 25
  • 195
  • 267
  • Just open the project in Xcode.You can find a bundle identifier there – Vinayak B Sep 18 '18 at 06:48
  • @VinayakB unfortunately XCode says it can't open this directory; it looks like it's looking for a specific kind of file, and a normal directory won't cut it – bluebox Sep 18 '18 at 13:51

1 Answers1

1

To get your bundle Id run following steps:

Open Xcode -> File/Open -> find your RN project -> open folder "ios" -> open top file of your project -> find section "Identity" -> copy "Bundle Identifier" which probably will be like: org.reactjs.native.example.[YOUR_PROJECT_NAME]

You are good to go.

kmnowak
  • 804
  • 1
  • 8
  • 23