Closed MohibWasay closed 5 years ago
@MohibWasay can you give more details about how you are building the app? Do you mean you are building it in the production mode?
@powerful23 Thanks for the response. Yes I am building the app in the production mode. Here is my app.json file for expo. Nothing out of the ordinary, but keep gettting this issue.
{
"expo": {
"name": "name",
"slug": "name",
"privacy": "public",
"sdkVersion": "32.0.0",
"platforms": [
"ios",
"android"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"bundleIdentifier": "host.exp.exponent",
"supportsTablet": true
},
"android": {
"package": "host.exp.exponent"
}
}
}
@MohibWasay sorry to be late. Are you still having this issue? I noticed the building process complains about the Java AWS dependencies
but in amplify js there is no dependency on that. Can you double check it?
Hey @powerful23 apologies for being away. problem was resolved with the update of Expo version. Closing down this issue.
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help
channels or Discussions for those types of questions.
Describe the bug I have a react-native expo application. I created this application using expo init appname. I initialized amplify within my app by running amplify init. I added auth, storage and graphql service. I tried running my application in my Android Nexus emulator, everything runs fine. When I try to build the application, it fails in installing the Java AWS dependencies on my expo command line
To Reproduce Steps to reproduce the behavior:
npm i -g expo-cli
expo init <myappname>
amplify init
npm i -s aws-amplify
&npm i -s aws-amplify-react-native
Expected behavior Successfully create the build
Actual behavior
Desktop: