Skip to content

Fix app killing itself when opening deep links #517

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix app killing itself when opening deep links
When opening a deep link this plugin is loaded twice on the same process, so we cannot kill the app when destroying the first plugin.

This line was first added by #304
However the issue this was intended to solve was likely fixed by removing the launchMode singleInstance (already merged), as explained in here: #261 (comment)
  • Loading branch information
leonardo-fernandes authored Jul 7, 2020
commit 210fa695fa9abcb3404b34e9be02ffc4698411d9
1 change: 0 additions & 1 deletion src/android/BackgroundMode.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ public void onResume (boolean multitasking)
public void onDestroy()
{
stopService();
android.os.Process.killProcess(android.os.Process.myPid());
}

/**
Expand Down