Answering expo build and upload questions automatically - react-native

I’m trying to create an app generator that creates an expo app and then deploys it to the app store and play store.
I’ve done the generator part, now I have to do the deploy.
My question is, is there a way I can answer to expo-cli interactions in expo build and upload automatically? So I can set them before and then when the user generates the app, I can automatically in an aws instance deploy this app to my app store account?
I know that I can set apple id and password before, as I can set push key and provisioning key. But the first question “? How would you like to upload your credentials? (Use arrow keys)” I just can’t.

I just solved it myself with autoexpect!

Related

Is there a way to secure aws-export.js in react-native?

I'm currently working on a React-native / Expo app.
After some research on security risk with react-native, I found that it was very easy to do reverse engineering on a APK and get the javascript code source.
For my app, I'm using AWS Amplify for the backend. So, all privates informations like Cognito Pool ID, S3 Bucket and other endpoints are readable easily in the aws-export.js after reverse engineering.
I know that it is possible to obfuscated the file with react-native-obfuscating-transformer or the entire app APK with Proguard but don't know if it is a correct way to secure this file.
So, my question is:
Is there a way to secure aws-export.js accordingly with the today production standard in React Native ?
Thanks in advance to everyone who take the time to answer.

Can I authorize Google maps SDK before deploying an Expo app to Play Store?

I have an Expo app that uses react-native-maps. It works well on Expo Go and I would like to deploy it to Google Play Store.
According to Expo documentation, I have to:
deploy the app on Google Play Store to generate app signing credential
copy the SHA-1 certificate fingerprint in Google Play console
create an API key in Google Cloud Credential manager
paste the API key in app.json
rebuild the app and re-submit to Google Play Store
So, to my understanding, the app will be available for users without maps activated. Then I'll have to deploy it again with maps activated. It sounds very counter-intuitive, and puts me at risk to get bad reviews from first users, who will claim the app "doesn't work" (because there is no map of course)
Is there a way to immediately publish a working app? If I need to handle a two step process, will the second build be immediately available in the Play Store, or will it be subject to a 3 days review?

Changes allowed in react-native code-push

I have added react-native-code-push in my react native app and if I add a new page in my page and then deploy it on code-push cloud, it will work or not?
What is the limit of changing the things in react-native-code-push?
Please do tell that what if I deployed in code push cloud and app store both, then the users will get the update button in play store or not?
Can we push the changes only to some users?
I have been using CodePush in production for quite sometime now.
I have added react-native-code-push in my react native app and if I
add a new page in my page and then deploy it on code-push cloud, it
will work or not?
It will work smooth!
What is the limit of changing the things in react-native-code-push?
Any JS change can be pushed via CodePush.
Please do tell that what if I deployed in code push cloud and app
store both, then the users will get the update button in play store or
not?
Only if you have any changes that have changed your native code. (Ex- Add a library that has a native module linked) You need to make sure you deploy via Playstore/Appstore.

react native how run code if uninstall app

Is there a way to run code (for example call an api to delete some data automatically) if I delete the app?
To be more specific, to make a call to an api to delete push information if the user delete the app without loging out
According to this post comment:
Sorry, this is not possible. It's not a limitation of React Native - neither Apple or Google give you this metric. You can track your app install numbers in Google Analytics and iTunes Connect, but I believe neither will give you a simple answer either.

first react native app, bypass app store?

I'm making my first app in react-native for iOS, I want friends to install it with going through expo first, just have it in their home screen, is there a way to deploy without using the app store and getting approved? if it's not for the masses?
First Add device UDID in apple account then create IPA file. Using below command. It will ask you developer account credential. Make sure you've subscribe developer membership.
exp build:ios
And share link with your friend using diawi