Configure multiple flavor /Schema in React Native |

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2022
  • iOS Configuration :
    • Multiple Schemes and C...
    In this video, we’ll be discussing Build Types. We’ll see how they make our React-native Development easier and faster especially when we’re creating applications with minimal differences. These differences can be as small as changes in themes and app icons or can be for different stages of the product such as Dev, QA, Production etc.
    We will understand multi configuration as we want to install three different application simultaneously on the device. for example, We want to bundle three different app shares same source code and having display name Dev, QA and Production
    Adding Product Flavours
    - Open your project’s android/app/build.gradle file.
    - Add a new section called product flavors and put our flavor specific configuration here.
    - Use a different applicationId for each flavor so we can have them all installed on the device at the same time.
    - Don’t forget the add the flavorDimensions “default”
    #reactnative #reactjs #reactnativetutorial
    #jasacadamy
    #tags
    build successful product,product development process,product development,startup idea generation,product development lifecycle,idea validation,difference,product development stages,production environment,development environment,idea generation,product,ideation,software testing course,software idea generation,software testing training,software testing,software development lifecycle,application development lifecycle,software testing tutorial,validate idea,product flavors android example,product flavors android,build variants vs product flavors,tutorial,emulator,android (operating system),bhavna thacker,project,build variants tab android studio,build variants android studio test,tools,build variants android studio,android,build variants android example,open build variants android studio,build variant android,cream,build variants android,install,sandwich,creating,create build variants android,how,ice,and,open build variants android studio,build variants android studio,android (operating system),build variants tab android studio,build variants android studio test,programming,create build variants android,build variants android,variations,flavors,creating,tutorial,sandwich,android,project,emulator,kotlin,mindorks,buildtypes,androiddev,and,tools,install,ice,cream,gradle,learn react native,react native,react native app,learn react,reactnative,react native 2020,react-native,react native course,react native project,react native tutorial,react native crash course,react native app tutorial,react native for beginners,react native tutorial for beginners,programming with mosh,mobile app development,androiddev,app development,react,multi environment,mindorks,tutorial,javascript,environment,development,code with mosh,android,production

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

  • @user-gs7oj3ih4v
    @user-gs7oj3ih4v 3 หลายเดือนก่อน +1

    Hello, this video is great, but i don't know how i can add firebase and keyStore to release?

  • @franku.n.1798
    @franku.n.1798 ปีที่แล้ว

    Awesome content.
    I had to remove my question as it is already answered

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

    Thanks Jas, I was trying to change the icon and splash screen for the qa build, what I did is I added drawable/layout files inside the qa folder but nothing changes, is there additional steps I need to do for that ?

    • @JASACADAMY
      @JASACADAMY  ปีที่แล้ว

      update mainfest file as well

    • @ahmedimam6496
      @ahmedimam6496 ปีที่แล้ว

      @@JASACADAMY thanks for ur quick reply but what should I update in there or u meant copy it to the qa folder ?

  • @harshdeep7015
    @harshdeep7015 11 หลายเดือนก่อน +1

    I am using google play services and getting error

  • @adrianbordeianu2257
    @adrianbordeianu2257 2 ปีที่แล้ว +1

    Thanks for the explanations. Any updates for iOS? I'm facing an unavoidable compile error: Undefined symbol: _RCTAppSetupDefaultModuleFromClass

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

      I will upload soon

    • @JASACADAMY
      @JASACADAMY  2 ปีที่แล้ว +2

      I will upload soon

    • @JASACADAMY
      @JASACADAMY  ปีที่แล้ว

      th-cam.com/video/rhdOWYqc-Cg/w-d-xo.html ios video

  • @Victor-wh9bs
    @Victor-wh9bs ปีที่แล้ว +1

    ThankU very help full

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

    Hi, I have a doubt, at 15:50 why didn't you add --appIdSuffix=prod? and left it without adding appIdSuffix? Also, thanks for the video.

    • @JASACADAMY
      @JASACADAMY  11 หลายเดือนก่อน

      It will automatically pick from build gradle

  • @pratikmoyde5722
    @pratikmoyde5722 16 วันที่ผ่านมา +1

    Hello,
    I have followed your entire tutorial and successfully created multiple environments in both Android and iOS. However, I am facing an issue with the Android release build. When I generate a release build for a specific flavor, the application does not read the corresponding .env file. This issue does not occur on iOS, where both debug and release builds work fine. The problem seems to be specific to the Android release.
    Could you please provide any suggestions or solutions for this issue? Thank you.

    • @JASACADAMY
      @JASACADAMY  13 วันที่ผ่านมา

      Clena the build and use proper command

  • @NishaPal-rb5kf
    @NishaPal-rb5kf ปีที่แล้ว +1

    in Android

  • @NishaPal-rb5kf
    @NishaPal-rb5kf ปีที่แล้ว +1

    how to perform react native vector icons because show me crossbox no show proper icon
    pls solve problems sir

    • @JASACADAMY
      @JASACADAMY  ปีที่แล้ว

      does vector icons installed properly

  • @ViralVibes247YT
    @ViralVibes247YT 10 หลายเดือนก่อน +1

    Only JAS Acadamy video are good in Configure multiple flavor in react native. Please help me in Below commented Issue3.

    • @JASACADAMY
      @JASACADAMY  10 หลายเดือนก่อน +1

      How can I help you?

    • @ViralVibes247YT
      @ViralVibes247YT 10 หลายเดือนก่อน

      @@JASACADAMY After adding flavours simple working with flavours. react-native run-android will give error.

  • @jyotish40
    @jyotish40 ปีที่แล้ว

    hi @JAS ACADAMY, How to build aab of different flavour from android studio

    • @JASACADAMY
      @JASACADAMY  ปีที่แล้ว

      add schema name on build time

    • @JASACADAMY
      @JASACADAMY  ปีที่แล้ว

      add schema name on build time

    • @jyotish40
      @jyotish40 ปีที่แล้ว

      @@JASACADAMY can you share how add schema

  • @arupgorai7778
    @arupgorai7778 2 ปีที่แล้ว +1

    Hey JAS, Please upload for IOS also.. we're all awaiting.

    • @JASACADAMY
      @JASACADAMY  2 ปีที่แล้ว +1

      sure will do.got busy with some work

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

      th-cam.com/video/rhdOWYqc-Cg/w-d-xo.html (iOS video)

  • @ViralVibes247YT
    @ViralVibes247YT 10 หลายเดือนก่อน +2

    After Implementing this video. And i am running simple npx react-native run-android command then giving "Error type 3
    Error: Activity class {com.flavour1/com.flavour1.MainActivity} does not exist". Really nice video. But i am stuck here. Please help 🙏

    • @JASACADAMY
      @JASACADAMY  10 หลายเดือนก่อน

      Check your package

    • @JASACADAMY
      @JASACADAMY  10 หลายเดือนก่อน +1

      Package name is not currect

    • @ViralVibes247YT
      @ViralVibes247YT 10 หลายเดือนก่อน

      @@JASACADAMY thanks for Quick reply

    • @nmrtns
      @nmrtns 9 หลายเดือนก่อน

      @@JASACADAMY I'm having the same error. My package name is correct. I have checked AndroidManifest, build.gradle and the productFlavors. All correct. What do I do?

    • @nmrtns
      @nmrtns 9 หลายเดือนก่อน +1

      @@ViralVibes247YT How did you resolve this issue?

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

    any video for IOS?

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

      thanks for feedback.I will upload it soon

    • @SobanSpeaks
      @SobanSpeaks ปีที่แล้ว

      @@JASACADAMY you are keep saying the same for 7 months 😢

    • @JASACADAMY
      @JASACADAMY  ปีที่แล้ว

      @@SobanSpeaks sorry for the same.got busy with other videos.I have added it in my bucket.give me sometime

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

      th-cam.com/video/rhdOWYqc-Cg/w-d-xo.html (iOS video)

    • @SobanSpeaks
      @SobanSpeaks ปีที่แล้ว

      @@JASACADAMY thanks bro

  • @deepakmehra5748
    @deepakmehra5748 2 ปีที่แล้ว +2

    For ios

    • @JASACADAMY
      @JASACADAMY  2 ปีที่แล้ว +1

      For ios will create one more video

    • @saicharanpogul
      @saicharanpogul 2 ปีที่แล้ว +1

      @@JASACADAMY when?

    • @JASACADAMY
      @JASACADAMY  ปีที่แล้ว

      th-cam.com/video/rhdOWYqc-Cg/w-d-xo.html (iOS video)

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

    In your IOS video you add googleservices.plist to your example. I'm not sure how to do that for Android as its not shown in this video :/

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

      android we use google-service.json file not plist it should be added in android/app folder

    • @DamanMokha24
      @DamanMokha24 6 หลายเดือนก่อน

      how to add different google-service.json for each flavor @@JASACADAMY