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

Updated CDVWKInAppBrowser.m to fix iOS link opening issue #870

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

Conversation

MAlik81
Copy link

@MAlik81 MAlik81 commented Mar 12, 2025

This update resolves an issue where links were not opening on iOS devices due to the deprecated openURL method. The fix replaces openURL: with openURL:options:completionHandler:, ensuring compatibility with iOS 10+ and preventing deprecation warnings.

  • ### Changes Made:
    Updated CDVWKInAppBrowser.m to use openURL:options:completionHandler: instead of the deprecated openURL:.
    Ensured backward compatibility with older iOS versions.
    Verified that the fix does not impact Android functionality.

  • ### Impact & Testing:
    Links now open correctly on all supported iOS versions.
    The fix has been tested on real iOS devices.
    No impact on Android functionality.

  • ### - URL handling improvements:

  • Developer Information:
    This contribution was made by ---, developer at Migastone International Srl.

MAlik81 added 3 commits March 12, 2025 23:01
Updated deprecated method to support Ios links opening
Updated Depricated Method to Support Ios link opening
Updated Depricated Method to Support Ios link opening
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