Hi.
I’m new Expo and I have a issue for creating standalone app.
I have Expo project and after some time have need to use native code. So I ejected my expo project using the command expo eject.
After ejecting, I added native code and app worked well.
Finally for submitting app to both app store, I published expo app using expo publish.
After that I have blank screen. app was running but doesn’t show anything.
Anyone who know this issue advance me.
Following is my app.json file:
{
“expo”: {
“name”: “neighborhood”,
“description”: “This project is really great.”,
“slug”: “neighborhood”,
“privacy”: “public”,
“sdkVersion”: “30.0.0”,
“platforms”: [
“ios”,
“android”
],
“version”: “1.0.0”,
“orientation”: “portrait”,
“icon”: “./src/assets/images/icon.png”,
“notification”: {
“icon”: “./src/assets/images/notification_icon.png”,
“color”: “#000000”
},
“updates”: {
“fallbackToCacheTimeout”: 0
},
“assetBundlePatterns”: [
“/"
],
“ios”: {
“supportsTablet”: true,
“bundleIdentifier”: "************",
“publishBundlePath”: “ios/neighborhood/Supporting/shell-app.bundle”,
“publishManifestPath”: “ios/neighborhood/Supporting/shell-app-manifest.json”
},
“android”: {
“package”: "*********”,
“publishBundlePath”: “android/app/src/main/assets/shell-app.bundle”,
“publishManifestPath”: “android/app/src/main/assets/shell-app-manifest.json”
},
“isDetached”: true,
“detach”: {
“iosExpoViewUrl”: “https://s3.amazonaws.com/exp-exponent-view-code/ios-v2.8.4-sdk30.0.0-3de13133-1adc-4ba1-8569-a84011e570b4.tar.gz”,
“androidExpoViewUrl”: “https://s3.amazonaws.com/exp-exponent-view-code/android-v2.8.1-sdk30.0.0-271c32ab-0715-4dfb-8270-ecead3679bb4.tar.gz”
},
“scheme”: “expe0dee74a172e495fbe7bdc05832274ac”
}
}
And follow is App.js file:
import React, {Component} from ‘react’;
import { StyleSheet, Text, View, Navigator } from ‘react-native’;
import {SafeAreaView, createStackNavigator, createSwitchNavigator} from ‘react-navigation’;
import SignIn from ‘./src/pages/SignIn’;
import CreateProfile from ‘./src/pages/CreateProfile’;
import Home from ‘./src/pages/Home’;
import CreateNotification from ‘./src/pages/CreateNotification’;
const Navigation = createStackNavigator(
{
SignIn: {screen: SignIn},
CreateProfile: {screen: CreateProfile},
Home: {screen: Home},
CreateNotification: {screen: CreateNotification},
}
)
export default Navigation;
I’m very happy to hear your advance.
Thanks