This is not a question but rather a note regarding an issue we recently encountered when using this component and the solution we implemented.
This component references a GitHub repository where the current code uses a deprecated method: UIApplication.openURL(_:)
Apple documentation: https://developer.apple.com/documentation/uikit/uiapplication/openurl(_:)
When building the app with MABS 11, this method no longer works on iOS 18.
The recommended fix, as per Apple guidelines, has already been proposed in the following pull request: https://github.com/guyromb/cordova-open-native-settings/pull/72
However, the PR has not been merged into the repository used by this component.
To resolve this, we forked the repository, applied the fix, and confirmed that it works across multiple iOS versions, including iOS 18.
Hi Fábio,
I think it is unfortunate that you decided to fork the component to get it fixed.
Both of you are OutSystems staff, I am pretty sure Wouter would have added you to the team, if you would send out that request.
Regards,
Daniel
Dear Fabio,At very first thanks for highlighting this.
Since the fixed version hasn't been merged into the master branch by the owner yet, I localized the plugin as a resource for pull #72 and published version as 1.0.2. It has been tested on iOS 18.3.2 and Android 14.
Thanks!
@assif_tiger Dear Assif We tried to implement using plugin as resource option - however it didnt help redirect to security settings and when security or settings as passed as input - it redirects to enable pin instead in IOS.Also with resource as solution - for some reason Android flow stops working - which works well when we are not using resource. Can you please advice.We tried with IOS 18 and Android 14.
Dear @Arshi Khan ,
I would appreciate it if you could open a new forum thread for your specific issue under the same component, as this one was already addressed back in April. - Add MABS Version - Add version you forked or more details about the zip version used - If possible any logs- Iphone Device Details & similarly Android Device details This helps to reproduce the same & fix accordingly.Thanks