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

Use SDLActivity **openURL** instead of GameActivity **openURL**. #1855

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

MAJigsaw77
Copy link
Contributor

Replaced GameActivity openURL with SDLActivity openURL for improved compatibility.

The SDL version includes intent flags: FLAG_ACTIVITY_NO_HISTORY to prevent the URL activity from staying in history, and FLAG_ACTIVITY_MULTIPLE_TASK to allow multiple instances. For Android 5.0+, it uses FLAG_ACTIVITY_NEW_DOCUMENT, while older versions use FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET, ensuring consistent task management across versions.

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

Successfully merging this pull request may close these issues.

1 participant