Open Closed

React Native & Expo (migration) #7625


User avatar
1
asingh created

Hello, I wanted to inquire about the current suite of ABP, which comes with Expo version 49.0, while the latest release is version 51. Expo has dropped support for SDK versions 49 and 50, and version 51 includes TypeScript and appears to be a significant rewrite.

Could you please provide guidance on how to migrate to Expo version 51? Are there any anticipated issues with this migration? Additionally, is there a roadmap for ABP's support for SDK 51, including any tentative dates? The codebase for Expo 51 looks completely different from SDK 49, and insights on this will help us make informed decisions at the architectural level for our ongoing development.

Furthermore, I have noticed an issue when downloading Expo from the Play Store. When attempting to scan the Metro Bundler QR code, the project fails to load on mobile devices due to SDK version incompatibilities. To resolve this, I have had to manually download the APK for version 49 from the Expo website, which is not an ideal practice.

I appreciate your quick and detailed response on these matters.

Best regards, Abhinav Singh

link for expo 51 doc


36 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I create an internal issue in 9.0 milestone, we will evaluate it

  • User Avatar
    0
    asingh created

    when can i expect , because we have to take decision at architectural level and go with the development ? any tentative dates?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    9.0 is scheduled to be released on October 08, 2024

    But the team is currently still in the evaluation stage, I'm not sure if it's included in 9.0

  • User Avatar
    0
    asingh created

    We need to consider our development roadmap, and I have some concerns regarding the potential migration from Expo SDK 49 to SDK 51. Currently, I am developing on version 49.0, and I understand that Expo 51 will be probably released on October 8th.

    Could you please clarify whether migrating from version 49 to 51 will be feasible, or will it require a complete rewrite? If it involves a complete rewrite, what steps should we take to ensure a smooth transition?

    Additionally, if the new version is currently under evaluation and not included in the 9.0 release, will it be considered for the next pipeline? This is a critical issue, and I strongly recommend it be included in the 9.0 roadmap if it is at the evaluation stage.

    Please suggest the best course of action for us to proceed with our development smoothly, as October 8th is still two months away. Your insights and suggestions from the support team will be highly appreciated.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Could you please clarify whether migrating from version 49 to 51 will be feasible, or will it require a complete rewrite? If it involves a complete rewrite, what steps should we take to ensure a smooth transition?

    Yes, it needs a complete rewrite; 5.1 has a log of break changes. sorry I can't give full advice (that's almost the entire workload)

    you can create a new 5.1 EXPO project and refer to existing projects and EXPO documents to write it

    Additionally, if the new version is currently under evaluation and not included in the 9.0 release, will it be considered for the next pipeline? This is a critical issue, and I strongly recommend it be included in the 9.0 roadmap if it is at the evaluation stage.

    okay, i will let you know the state

  • User Avatar
    0
    asingh created

    I would like to know if the Login API of the ABP framework can be maintained and function correctly in a standalone Expo version SDK 51 environment. Specifically, if I start working with SDK 51, will the ABP Login API continue to work seamlessly?

    Could you please suggest a way to ensure compatibility and provide any necessary steps or guidance on how to use the Login API effectively within this new version?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    will the ABP Login API continue to work seamlessly?

    yes, the login API is stardand OAUTH.

    you can continue to use code flow.

    https://docs.expo.dev/guides/authentication/

  • User Avatar
    1
    alper created
    Support Team Director

    hi I reopened this question. @masum will help you for this topic

  • User Avatar
    0
    asingh created

    when can i expect from him? we are stucked here .

  • User Avatar
    1
    masum.ulu created
    Support Team Angular Expert

    Hi asingh,

    I'm working on our react native project template I'll notify also you after migrations and test FYI

  • User Avatar
    0
    asingh created

    Ok I hope it is migrated , tested and released soon. Any tentative dates? meanwhile could you tell me how are you using the developer tools for debugging, because I am unable to debug the application in dev tools, I am not able to inspect the elements , are you using any third party tools for debugging the mobile application?

    could you please provide screenshots for them ?

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    I've been work about it today I'll continute also tomorrow. I'll fix this task as soon as possible.

    I'm using Expo on android studio VDM (virtual device manager)

    I've updated packages to 50.x.x also other dependencies from terminal e.g:

  • User Avatar
    1
    asingh created

    have you checked the expo doc ? they said they have removed the support for 49 and 50 , Current supported version on play store is SDK 51. Migrating to expo sdk 50 will not help in any case as it is also deprecated. So please make sure you migrate to latest expo SDK 51 only.

  • User Avatar
    0
    improwise created

    have you checked the expo doc ? they said they have removed the support for 49 and 50 , they are only supporting sdk 51 on playstore, I manually tried to migrate all your existing code to 51 , since 49 is js
    and 51 is typescript, its a significant rewrite.

    after converting your existing 180+ files manually to typscript , i got issue in inspecting the elements and localisation library

    sdk 49 used ii18 js while i am trying to integrate i 118 next its not working ..

    just have a look , I have also attached screenshot about expo dropped sdk 49 and 5o , in the starting of the conversation.

    Agreed, SDK 51 and TypeScript should be the only option going forward with this, I see no value in "upgrading" to the out of support SDK 50 with only Javascript support.

  • User Avatar
    0
    smansuri created

    Hi Masum, could you please confirm that you are now migrating to latest expo SDK 51.

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hi all, it seems like ya are not read my comment well, I'll migrate to 51 but if you guys read the migration guid react expo recommend to update version incrementally. I'll migrate today to 51

    https://reactnative.dev/docs/upgrading#expo-projects

    Thanks, Masum

  • User Avatar
    0
    smansuri created

    Ok,sorry for the confusion and thanks for the update.

  • User Avatar
    0
    improwise created

    Hi all, it seems like ya are not read my comment well, I'll migrate to 51 but if you guys read the migration guid react expo recommend to update version incrementally. I'll migrate today to 51

    https://reactnative.dev/docs/upgrading#expo-projects

    Thanks, Masum

    Thanks for the clarification.

    And it will be TypeScript as well then going forward?

  • User Avatar
    0
    smansuri created

    Do we have any tentative timeline as we need to scope this in our sprint planning.

  • User Avatar
    0
    smansuri created

    Hi all, it seems like ya are not read my comment well, I'll migrate to 51 but if you guys read the migration guid react expo recommend to update version incrementally. I'll migrate today to 51

    https://reactnative.dev/docs/upgrading#expo-projects

    Thanks, Masum

    Just a gentle reminder to get update on this?

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Still working on it boss thanks for reminder :)

  • User Avatar
    0
    smansuri created

    Still working on it boss thanks for reminder :)

    Thanks for the update!

  • User Avatar
    0
    smansuri created

    Still working on it boss thanks for reminder :)

    Is this released with 9.0 preview release? or any tentative timeline?

  • User Avatar
    0
    smansuri created

    Could you please provide an update on this?

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Still working on it thanks

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11