react-native code-push (2020) complete tutorial in hindi
ฝัง
- เผยแพร่เมื่อ 21 มิ.ย. 2020
- visit: codesikho.com?
source code: bitbucket.org/shagun123/react...
In this video, we are going to see how to use codepush with react-native.
this is a react-native code-push complete tutorial in hindi.
we are also going to use higher order components in this. - วิทยาศาสตร์และเทคโนโลยี
Thanks...Nice video..Easy to understand
Thanks, I was finding for this only
Excellent Video, Thanks... :) :D
Thank you sir itnijaldi video dene ke liye
Thanks bro,
👌👌👍👍
what extension are u using for getting the method description on clicking on method name ??
How u have tested after integrating CodePush on the released apk? I am not able to get the updates.
Facing a problem when implemented React-native-splash-screen with Code Push. Next time when the app start it get stuck on splash screen. as CodePush checks for updates every time so it stops the app on the react-native-splash-screen package screen. Any thing on this scenario ?
Hi bro,
I have implemented the changes but my app gets update when I reload my app.. I want to load the changes on real time... I don't want to reload the app for updates...
As you hardcoded the key in the string.xml file then how will you make it dynamic for both staging and production? or how can we add this as a ci/cd process
to set it acc to environment you can follow this
buildTypes {
debug {
...
// Note: CodePush updates shouldn't be tested in Debug mode as they're overridden by the RN packager. However, because CodePush checks for updates in all modes, we must supply a key.
buildConfigField "String", "CODEPUSH_KEY", '""'
...
}
releaseStaging {
...
buildConfigField "String", "CODEPUSH_KEY", '""'
// Note: It's a good idea to provide matchingFallbacks for the new buildType you create to prevent build issues
// Add the following line if not already there
matchingFallbacks = ['release']
...
}
release {
...
buildConfigField "String", "CODEPUSH_KEY", '""'
...
}
....................................................
@Override
protected List getPackages() {
return Arrays.asList(
...
new CodePush(BuildConfig.CODEPUSH_KEY, MainApplication.this, BuildConfig.DEBUG), // Add/change this line.
...
);
}
SO IT WILL AUTOMATICALLY TAKE KEY ACC TO ENV
can you please guide for ios project?
Hi Sir, I followed the tutorial, but I'm facing an issue with navigation. When I pass class, withcodepush the navigation props break and end in failure. It works when the definition of class is "export default class Splash extends React.Component" but when i change it to class and declare export default below to use withcodepush. it ends up with an error..
Could you try wrapping App.js inside
AppRegistry.registerComponent(appName, () => codePush(codePushOptions)(App))
Hey bro, does your app is in debug mode or its a signed APK?
it's in debug
Does it work with Java or it only work with react native.
for react native
Can u make a video on deploying to Google Play Store, please.
ok sure
if you have taken our paid course it is already there
Task :app:generateBundledResourcesHashRelease FAILED
internal/fs/utils.js:230
throw err;
^
Error: ENOENT: no such file or directory, scandir '/home/ayush/Desktop/awsproject/android/app/build/generated/res/react/release
i m getting this error
while building relese apk please help me sir.
well i need to look into the code can't say the reason like this. go to codesikho write this on discussion page of public forum i will help u
@@shagun745 ok sir.