Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When exit from application #15

Open
jack5505 opened this issue Feb 4, 2021 · 0 comments
Open

When exit from application #15

jack5505 opened this issue Feb 4, 2021 · 0 comments

Comments

@jack5505
Copy link

jack5505 commented Feb 4, 2021

When you exit from application it starts give following error.
What might be reason

E/ActivityThread: Activity ***.MainActivity has leaked IntentReceiver name.ratson.cordova.sms_receiver.SmsReceiver@5b7c8c4 that was originally registered here. Are you missing a call to unregisterReceiver()?
android.app.IntentReceiverLeaked: Activity com.bssys.custom.orient.test.MainActivity has leaked IntentReceiver name.ratson.cordova.sms_receiver.SmsReceiver@5b7c8c4 that was originally registered here. Are you missing a call to unregisterReceiver()?
at android.app.LoadedApk$ReceiverDispatcher.(LoadedApk.java:1437)
at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1214)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1486)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1459)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1447)
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:633)
at name.ratson.cordova.sms_receiver.SmsReceiverPlugin.receiveSms(SmsReceiverPlugin.java:92)
at name.ratson.cordova.sms_receiver.SmsReceiverPlugin.execute(SmsReceiverPlugin.java:40)
at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:326)
at android.os.Looper.loop(Looper.java:165)
at android.os.HandlerThread.run(HandlerThread.java:65)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant