You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem background:
I have integrated a standalone react-native application with native android app by following react-native website guidelines. I was able to access my react-native application from native android application. But, in case of integrating Super App with native android application, it keeps crashing.
As a single Super App, my app is running. I can install the apk in my android device and it works like a charm. (https://github.com/asadpstu/superapp)
It would be very helpful if anyone can help in the matter by sharing ideas, github repo link etc.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Problem background:
I have integrated a standalone react-native application with native android app by following react-native website guidelines. I was able to access my react-native application from native android application. But, in case of integrating Super App with native android application, it keeps crashing.
As a single Super App, my app is running. I can install the apk in my android device and it works like a charm.
(https://github.com/asadpstu/superapp)
It would be very helpful if anyone can help in the matter by sharing ideas, github repo link etc.
Here is some code sample for native android -
`package com.example.myapplication;
import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import com.facebook.react.PackageList;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactPackage;
import com.facebook.react.ReactRootView;
import com.facebook.react.common.LifecycleState;
import com.facebook.react.modules.core.DefaultHardwareBackBtnHandler;
import com.facebook.soloader.SoLoader;
import java.util.List;
public class MyReactActivity extends Activity implements DefaultHardwareBackBtnHandler {
private ReactRootView mReactRootView;
private ReactInstanceManager mReactInstanceManager;
}`
Android project setup:
AndroidMenifest.xml
`
Beta Was this translation helpful? Give feedback.
All reactions