Skip to content

Instantly share code, notes, and snippets.

View hemanth-manoharan's full-sized avatar

Hemanth M hemanth-manoharan

View GitHub Profile
@hemanth-manoharan
hemanth-manoharan / electrode-native-helloworld4.md
Last active January 23, 2021 02:16
Tutorial #4: Mini-app to outer app communication

Tutorial #4: Mini-app to outer app communication

This post is the 4th one in a series of posts on Electrode Native.

It assumes that one has already completed the steps in Tutorial #3 here - https://gist.github.com/hemanth-manoharan/5460456f019faae2678776427f879bac

In this tutorial, we are going to demonstrate how to communicate between the JS code in the mini-app and the native code in the outer app. We will be using the concept of Electrode Native APIs for the same.

Ref: https://native.electrode.io/introduction/what-is-ern/js-native-communication

@hemanth-manoharan
hemanth-manoharan / electrode-native-helloworld3.md
Last active June 25, 2022 07:00
Tutorial #3: How to perform OTA (Over-The-Air) updates using CodePush
@hemanth-manoharan
hemanth-manoharan / electrode-native-helloworld2.md
Last active November 5, 2021 13:31
Tutorial #2: How to add the second mini app to an outer android app

Tutorial #2: How to add the second mini app to an outer android app

This post is the 2nd one in a series of posts on Electrode Native.

It assumes that one has already completed the steps in Tutorial #1 here - https://gist.github.com/hemanth-manoharan/edb363d575d5c9ab22cbc93b595b8fba

  • First, create a second mini-app and publish it to npm as we did in the previous tutorial.

Assuming that the 2nd app is named app2-miniapp

@hemanth-manoharan
hemanth-manoharan / electrode-native-helloworld.md
Last active October 1, 2023 13:51
Tutorial #1: How to create a mini app in Electrode Native and embed it within an outer Android native app

Tutorial #1: How to create a mini app in Electrode Native and embed it within an outer Android native app

This is the first in a series of posts around Electrode Native.

Was not able to directly find a "hello world" type of guide that demonstrates all the capabilities of Electrode Native - like mini-app packaging and OTA (Over-The-Air updates) in the documentation here - https://www.electrode.io/site/docs/getting_started.html

Hence, decided to write one as part of my journey. These posts are more focused on getting the code running than on explanation of the underlying concepts. For details on the concepts, please refer to the Electrode Native documentation directly.

Note: Electrode Native version at the time of writing this tutorial - v0.45.5