I need to access a file from my main app in my share extension is that possible? The file is the "bundle" for distribution for a react native iOS app, something like
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle" subdirectory:@"../myMainProject"];
If I copy and paste the main.jsbundle
file on my share extension it works fine.
Or should I place this main.jsbundle
in an app group so both app and extension can use it?