用uni小程序sdk,安卓集成,用扩展module打开一个原生NativePageActivity
@UniJSMethod (uiThread = true)
public void gotoNativePage(){
if(mUniSDKInstance != null) {
Intent intent = new Intent(mUniSDKInstance.getContext(), NativePageActivity.class);
mUniSDKInstance.getContext().startActivity(intent);
}
}
然后在NativePageActivity中打开第三方sdk,在退出sdk后,不会回到NativePageActivity,也不会回到小程序,而是回到了宿主app,这个问题怎么解决
0 个回复