Skip to content

feat/expo rn module#12

Merged
williscool merged 18 commits intomasterfrom
feat/expo_rn_module
Oct 14, 2023
Merged

feat/expo rn module#12
williscool merged 18 commits intomasterfrom
feat/expo_rn_module

Conversation

@williscool
Copy link
Copy Markdown
Owner

@williscool williscool commented Oct 11, 2023

Bottom Line: Expo React native modules WORK!

The tutorial that finally got things going

https://docs.expo.dev/modules/get-started/#adding-a-new-module-to-an-existing-application

simple demo app

modules/my-module/android/src/main/java/expo/modules/mymodule/MyModule.kt

WARNING: we will need to HEAVILY FAVOR asynchronous functions for anything BECAUSE WE CANNOT DEBUG SYNC ONES.

enables:

  • react native modules WORK! (with the big caveat that you CANNOT DEBUG SYNCRONOUS FUNCTIONS. they work you just can't open the chrome or vscode debugger and hope to see anything related to them. its all console.log baby )
  • debugging in vscode
  • flipper
  • rn-game-over (for when things just don't seem to work and you need to delete a bunch of stuff and start over)

figured out an documented

  • how to use windows adb like its the linux one

also:

  • upgrade kotlin
  • downgrade gradle
  • downgrade to react 0.71

Fixes #3

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup react native/expo to enable migrating the UI

1 participant