You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a managed workflow and building with eas; I'm taking advantage of environment variables of expo (aka EXPO_PUBLIC_*) to change bundler identifier like this : app.config.ts
while the build on eas works find, for development we need to start the server and see what happens (I'm logging appConfig for clarity purposes): APP_VARIANT=development npx expo start --reset-cache
appConfig {
bundleIdentifier: undefined
}
AssertionError [ERR_ASSERTION]: Missing 'ios.bundleIdentifier' in app config.
error Command failed with exit code 1.
to illustrate more, see what happens when I set the bundler identifier manually : app.config.ts
then start the server : APP_VARIANT=development npx expo start --reset-cache
appConfig {
bundleIdentifier: undefined,
}
Starting project at /Users/jb/Projets/mobile
env: load .env.local
env: export EXPO_PUBLIC_BUNDLER_IDENTIFIER [...] EXPO_PUBLIC_ONE_SIGNAL_APP_ID
appConfig {
bundleIdentifier: 'my.identifier',
}
>>> Then the server starts normally
by the way, I'm doing the same thing for Android but it does not cause the problem. app.config.ts
android: {
package: appConfig.bundleIdentifier,
}
Steps to reproduce?
1. npx expo install onesignal-expo-plugin
2. yarn add react-native-onesignal
3. create a file .env and add EXPO_PUBLIC_BUNDLER_IDENTIFIER = com.onsignal.test
4. modify app.config.ts to use it :
return {
name: "xxx",
ios: {
bundleIdentifier: appConfig.bundleIdentifier,
}
}
npx start start
### What did you expect to happen?
The expo server starts normally
### OneSignal Expo SDK version
"onesignal-expo-plugin": "^2.0.3",
"react-native-onesignal": "^5.2.3",
### Platform
iOS, Android
### Relevant log output
_No response_
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
Hello,
I'm using a managed workflow and building with eas; I'm taking advantage of environment variables of expo (aka EXPO_PUBLIC_*) to change bundler identifier like this :
app.config.ts
while the build on eas works find, for development we need to start the server and see what happens (I'm logging appConfig for clarity purposes):
APP_VARIANT=development npx expo start --reset-cache
to illustrate more, see what happens when I set the bundler identifier manually :
app.config.ts
then start the server :
APP_VARIANT=development npx expo start --reset-cache
by the way, I'm doing the same thing for Android but it does not cause the problem.
app.config.ts
Steps to reproduce?
The text was updated successfully, but these errors were encountered: