Anyone who is interested in using Electrode Native.
This was made with 💙 at WalmartLabs.
ern platform use 0.37.0
(or a newer version;ern platform use latest
will always use the newest version)- For Android:
ern run-android
- For iOS:
ern run-ios
- Get an API key from https://www.themoviedb.org
- Open
config.json
and update theAPIKey
with your API key. - Run the app.
Integration with native is notoriously difficult, especially if you don't have experience with Java, Objective-C, and/or Swift. We wanted to make navigation as painless as possible while using the native stack and still allowing native developers full control... and to have a little fun while doing it.
Electrode Native Navigation allows an Electrode Native miniapp to quickly and easily set up inter- and intra-miniapp
navigation for any number of miniapps. After setting up a miniapp's components with
the AppNavigator.RegisterAll()
method, all of your screens will
automatically inherit appropriate navigation bar behavior, including navigation bar
button event listening and dispatching.
This miniapp outlines the different mechanisms that are provided to you by our Electrode Native Navigation.
<Component>.back()
allows you to go back one screen. If on
the first screen of your miniapp, it will exit the miniapp.
<Component>.backTo()
allows you to go back to any screen in
your backstack.
<Component>.finish()
allows you to finish your current flow.
<Component>.navigate()
allows you to navigate anywhere in
the application.
<Component>.navigateInternal()
allows you to navigate
anywhere in the current miniapp.
<AppNavigator>.registerAll()
registers all screens which were defined
when constructing the AppNavigator object.
This product uses the TMDb API but is not endorsed or certified by TMDb.