Open inkCrazy opened 5 months ago
import com.facebook.react.bridge.ReactContext import com.facebook.react.bridge.ReactApplicationContext import cn.jiguang.plugins.core.JCoreModule
override fun onCreate(savedInstanceState: Bundle?) { val reactContext = getReactNativeHost().getReactInstanceManager().getCurrentReactContext() as ReactApplicationContext?; val jCoreModule = JCoreModule(reactContext); //先不要授权极光推送 jCoreModule.setAuth(false); super.onCreate(null) }