Libraries v5.1 and "cordova-plugin-ionic-webview" plugin - iOS problems

This forum contains topics that were moved from Get Satisfaction
Serhii Kulibaba
Posts: 136
Joined: Tue Aug 27, 2013 1:47 pm

Libraries v5.1 and "cordova-plugin-ionic-webview" plugin - iOS problems

Post by Serhii Kulibaba »

It might be the issue with your custom plugins. Please disable them and run the build again

Chris6743166
Posts: 1
Joined: Tue Mar 18, 2014 11:50 am

Libraries v5.1 and "cordova-plugin-ionic-webview" plugin - iOS problems

Post by Chris6743166 »

Hi Serhii,

You were right. The Social Sharing plugin is causing the build to fail for Android. thanks for bringing that to my attention.

However, the problem with iOS 12 and below remains. The app is no longer able to register for push and navigation doesn't work.

No files in the source tab have been edited and no custom plugins added.

Are you able to help?

Thanks,

Chris

Blu3sb0y
Posts: 0
Joined: Tue Jan 28, 2020 4:39 am

Libraries v5.1 and "cordova-plugin-ionic-webview" plugin - iOS problems

Post by Blu3sb0y »

Hi Chris,

I am running into the same issue with the Social Sharing plugin.

This plugin was working fine till last week, but I am getting the build error for andriod now which you mentioned.

Serhii, could you tell me if anything has changed in the platform in the last week that would cause this, since I have made no changes to my code.

Thanks,

Pranay.

Chris6743166
Posts: 1
Joined: Tue Mar 18, 2014 11:50 am

Libraries v5.1 and "cordova-plugin-ionic-webview" plugin - iOS problems

Post by Chris6743166 »

Hi Pranay,

You could try installing these two Cordova plugins alongside social sharing:

[quote:]
cordova-plugin-androidx
cordova-plugin-androidx-adapter
[/quote]

..as outlined here: https://stackoverflow.com/questions/5...

Do report back if that works for you. I currently don't need the feature on the app I'm working on but certainly will need it in the future.

Cheers,

Chris

Serhii Kulibaba
Posts: 136
Joined: Tue Aug 27, 2013 1:47 pm

Libraries v5.1 and "cordova-plugin-ionic-webview" plugin - iOS problems

Post by Serhii Kulibaba »

Have you cleared all changes in source files built a new app, installed on the device?
It was working fine on our device.

Have you tested it with another iOS version, e.g. 13?

Chris6743166
Posts: 1
Joined: Tue Mar 18, 2014 11:50 am

Libraries v5.1 and "cordova-plugin-ionic-webview" plugin - iOS problems

Post by Chris6743166 »

Hi Serhii,

I'm testing with both iOS 13 and iOS 12. iOS 13 is working fine. It's iOS 12 for which the navigation buttons are not working.

Strangely, if I create a new page and make that the app Start page, navigation works fine. So it suggests that it is something wrong specifically with the app's current Start page (home.html) which is breaking navigation on iOS 12.

(I have resolved the issue with push notifications not registering)

Chris

Blu3sb0y
Posts: 0
Joined: Tue Jan 28, 2020 4:39 am

Libraries v5.1 and "cordova-plugin-ionic-webview" plugin - iOS problems

Post by Blu3sb0y »

Thanks Chris! That did work, so you should be able to implement in the near future.

Apologies for piggybacking on this thread, but since you are looking to use social sharing, are you using deep links in your app as well?

I have been struggling with the Firebase Dynamic links plugin for a while now without any success and would appreciate any alternatives.

Regards,

Pranay.

Chris6743166
Posts: 1
Joined: Tue Mar 18, 2014 11:50 am

Libraries v5.1 and "cordova-plugin-ionic-webview" plugin - iOS problems

Post by Chris6743166 »

Hi Pranay,

If by 'deep links', you mean links to specified pages on a website, yes. Namely, WordPress websites, where the content and target url is provided by the WordPress API. I'm afraid I have no experience with the Firebase Dynamic links plugin.

Chris

Blu3sb0y
Posts: 0
Joined: Tue Jan 28, 2020 4:39 am

Libraries v5.1 and "cordova-plugin-ionic-webview" plugin - iOS problems

Post by Blu3sb0y »

Got it! Thanks again for the tip.

Good luck!

Pranay.

Chris6743166
Posts: 1
Joined: Tue Mar 18, 2014 11:50 am

Libraries v5.1 and "cordova-plugin-ionic-webview" plugin - iOS problems

Post by Chris6743166 »

Hi,

I have replaced the start page of my app with a blank page containing two buttons. No scripts are run when the page loads. One button navigates to a blank page with no scripts loaded. The second button navigates to page which has an onload event. Namely, this javascript is run:

[quote:]
console.log('Page 2: onLoad event fired');
alert('Page 2: onLoad event fired');
[/quote]

If you test the app using iOS 12, you should find that Page 1 loads fine, but clicking the Page 2 button causes the start page to refresh without navigating to the intended page.

It has taken me the entire day to narrow down the search to this. I would greatly appreciate it if you tested the app on iOS 12 yourselves to confirm.

As mentioned previously, this problem does not appear on iOS 13.

Thanks,

Chris

The app is called Hooson (6d0f42e4-32d0-4e03-b243-3ba6da40e4cc) and is shared with support.

Post Reply