Changes allowed in react-native code-push - react-native

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.

Related

React native Expo - can you change/add Admob ads without releasing an update? (without requiring user to update the app)

I want to add ads to an react native application using, most likely, the Google's AdMob.
Now what I expect according to https://docs.expo.dev/versions/latest/sdk/admob/ is that before building an app for relase, I have to set the googleMobileAdsAppId in app.json.
I also understand how to add ads as components and se their adUnitID.
Now how do I change the adUnitID after the application has been released without releasing an application update and therefore requiring users to udpate the application to see the new ads?

Creating native Android push notifications for App built with PWA builder

Successfully created an Android app of my PWA using PWA builder.
Also Added web push notifications with the Service worker and web Firebase messaging API.
But due to certain shortcomings of web push notifications, I want to use the native push notifications using firebase SDK for Android instead.
Reading a few of these answers How to use push notification for trusted web activity, Cannot understand how to open a simple TWA inside an app (using AndroidX) gives me the impression that I need to have access to Main Activity and put Firebase onMessageReceived inside onCreate function.
But given PWA builder is a Node application that builds APK, I don't know where to start. I understand that I have to 1. Include the Firebase SDK & 2. Put onMessageReceived
But how to go about it using PWA builder?
Or Is it not possible at all? I need to create a brand new Andriod studio project and add TwaLauncher, from android-browser-helper as some of the answers mention?
Also posted this question on PWA builder issues.
When you are generating Android APK, enable the "Notification Delegation" option.

Setting the User Context App Insights for React Native

We have a React Native app and we are logging to App Insights using the "applicationinsights-react-native package", this all works fine in a sense, but we are trying to start using the monitoring side of things which uses a User ID. Now I'm pretty sure that whatever the User ID that the (app insights) package is using for a user ID won't cause too many problems if we kept it, but it won't be right.
The ApplicationInsights class has a setAuthenticatedUserContext method, however the comments seem to refer to cookies suggesting it's a React package re-purposed and this GitHub post https://github.com/microsoft/appcenter-sdk-react-native/issues/503 suggests we can't use it, however the response is for the React Natve AppCenter package which we are not using. We are using App Insights direct.
So I was wondering if there was a way to set our user_Id/User context if we are using App Insights directly from a React Native app?
It looks like setAuthenticatedUserContext does work if you talk to App Insights directly and not theough Appcenter, it's possible that it works through Appcenter now as well, I have not tested so I am not sure.
If you want to check that this ends up as on the App Insighst side, it appears as a property called user_AuthenticatedId.

if we promote app using different technology . Do the user has to uninstall old App? or just update works?

we have developed app using ionic which is on live in playstore and app store, now we have completely rewritten app using reactnative, so if we promote app which is developed using react native, Do the user has to uninstall old App? or just update works?
My understanding is that if it uses the same app identifier that it will just work for the user.
You can also see it here: Recreating an iOS App with the same Bundle ID, App name etc

Answering expo build and upload questions automatically

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!