react-native-auto-updater icon indicating copy to clipboard operation
react-native-auto-updater copied to clipboard

Where should metadata.json go?

Open naji247 opened this issue 10 years ago • 2 comments

Hey guys, I'm pretty sure my app isn't able to find my metadata.json ):

Where should it go for the default location? I put it in my ios/ folder but alas it isn't looking there. Am I supposed to make xCode recognize it some way? When I try to print my metadata.json NSURL location I get nothing, when I print my defaulJSCode location I get:

file:///Users/naseem.alnaji/Library/Developer/CoreSimulator/Devices/29F61826-651D-4552-8C94-E784629661A8/data/Containers/Bundle/Application/B8FBC428-781F-4A51-8BEA-B073AEDE5A4F/DogShow.app/main.jsbundle

Is it supposed to be in that folder somehow through the build process..?

naji247 avatar Mar 28 '16 07:03 naji247

It should go in your main project (just dragging and dropping should do it).

Additionally, to make sure it is being included in the app, check project's Build Phases > Copy Bundle Resources. It should be included in there.

rahuljiresal avatar Mar 28 '16 15:03 rahuljiresal

Thank you rahul! I think the second piece of advice was what I was missing! :)

naji247 avatar Mar 28 '16 15:03 naji247