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.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 25

  • @GurpreetSingh-oo3lz
    @GurpreetSingh-oo3lz 3 ปีที่แล้ว

    Thanks...Nice video..Easy to understand

  • @Saurav_100rav
    @Saurav_100rav 3 ปีที่แล้ว +1

    Thanks, I was finding for this only

  • @sahilpawar268
    @sahilpawar268 3 ปีที่แล้ว +1

    Excellent Video, Thanks... :) :D

  • @LokSamacharradio
    @LokSamacharradio 4 ปีที่แล้ว

    Thank you sir itnijaldi video dene ke liye

  • @niravkumarbhesaniya3127
    @niravkumarbhesaniya3127 2 ปีที่แล้ว

    Thanks bro,

  • @JayPatel-jk8iu
    @JayPatel-jk8iu 2 ปีที่แล้ว

    👌👌👍👍

  • @khajakutubuddin6393
    @khajakutubuddin6393 3 ปีที่แล้ว

    what extension are u using for getting the method description on clicking on method name ??

  • @ajitpradhan6447
    @ajitpradhan6447 3 ปีที่แล้ว +1

    How u have tested after integrating CodePush on the released apk? I am not able to get the updates.

  • @sameerahmed4439
    @sameerahmed4439 2 ปีที่แล้ว

    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 ?

  • @ishaqkhan6957
    @ishaqkhan6957 3 ปีที่แล้ว

    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...

  • @bilaltariq2665
    @bilaltariq2665 3 ปีที่แล้ว

    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

    • @shagun745
      @shagun745  3 ปีที่แล้ว

      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

  • @noor-unnisa5848
    @noor-unnisa5848 2 ปีที่แล้ว +1

    can you please guide for ios project?

  • @abhaypandey3515
    @abhaypandey3515 3 ปีที่แล้ว

    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..

    • @roadking1277
      @roadking1277 3 ปีที่แล้ว

      Could you try wrapping App.js inside
      AppRegistry.registerComponent(appName, () => codePush(codePushOptions)(App))

  • @rishisoni7107
    @rishisoni7107 4 ปีที่แล้ว

    Hey bro, does your app is in debug mode or its a signed APK?

    • @shagun745
      @shagun745  4 ปีที่แล้ว

      it's in debug

  • @rizwansayyed5043
    @rizwansayyed5043 3 ปีที่แล้ว

    Does it work with Java or it only work with react native.

    • @shagun745
      @shagun745  3 ปีที่แล้ว

      for react native

  • @sreekanthfriends8222
    @sreekanthfriends8222 4 ปีที่แล้ว

    Can u make a video on deploying to Google Play Store, please.

    • @shagun745
      @shagun745  4 ปีที่แล้ว

      ok sure

    • @shagun745
      @shagun745  4 ปีที่แล้ว

      if you have taken our paid course it is already there

  • @ayushthakre3681
    @ayushthakre3681 4 ปีที่แล้ว

    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.

    • @shagun745
      @shagun745  4 ปีที่แล้ว

      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

    • @ayushthakre3681
      @ayushthakre3681 4 ปีที่แล้ว

      @@shagun745 ok sir.