Application no longer working on ios 10.2


I have a problem with my mobile app.
The application runs on ios 9.3
But when i switched to version 10.2 ios some plugins no longer works.

I have updated my plugins and re launch the buid

But it does not work and I do not know how to do the debug

Can you tell me if there is a quick method to know which plugins does not work on ios 10.2 can be?

Here is the list of plugins I use


thank you

Did you try to delete node_modules and execute npm install?

I don’t know much about your specific issue, but I got the impression that this is a magical solution which can possibly solve this kind of issues.

Hello and thank you for your quick reply.

On android I have no problem, the problem comes on ios 10.2

When you say delete the node_modules folder I delete from my folder at this level


I delete?

For npm install

Can you tell me what I should do exactly if possible?

I noticed that when I launch the application it does not work, but if I go back to the home of my iphone, and re open the application the plugins resume but that bug

Thank you


I manually deleted the folder node_modules

and then

cd /Users/MyMac/Documents/ionic/Myapp
npm install
cd /Users/MyMac/Documents/ionic/Myapp
sudo cordova platform add ios
sudo cordova prepare
sudo chmod -R 777 /Users/MyMac/Documents/ionic/Myapp

And I still have the problem.

As I said I have strange behavior, plugins do not work,
But if I come back to the home or change application and then I come back to my app the plugins reacts …


I would like to know if there is a known problem between an app ionic version 1 and ios 10, if it is compatible or if it bug?

Because my app works correctly on ios 9 but on iOS 10 no and i can not locate the bug


thank you

What does “does not work” mean?
Doesn’t it start? Do you only have a white screen? What is happening that shouldn’t?

Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Safari dev tools: Remote Debug your Ionic App · Look at the console and network tabs for errors.

Hello everything works on android, and on the browser

On iOS 10 the application also runs

However the problem is with the plugins

Example I have the share plugin


When I click the share button in the application there is no reaction,
If I change my application then go back to my application I see that “action share” has been executed

You can see the video here:

For example, the notification message of the plugins


When it launches the application I do not have the message but if I return to the home on my iphone the message comes from notification appears on the home of the iphone and not on the application

Any plugins reacts outside the application and not in the application

Otherwise everything works on ios 9 except on ios 10 i have this drole behavior

Thank you

Ok, so your app hangs on execution of native plugins until you leave the app and then come back, correct?
Can you try not to leave the app but just “pull up” the settings thingie from below the screen? Or notification view from above the screen? Does it execute then as well?

No it’s not fixed it still does it if I click any button the action happens once I return to the app.

For example I have button that asks to choose the navigation I click navigation and I see the dialogue the choice once I leave and come back.

Same problem …

When you say pull up?

Please reply to my questions individually so I know what you are replying to.

When you say “pull up” I do not understand


it works

It’s me file index.html which was incorrectly configured for ios 10

Thank you for your help

have a good day

1 Like

Can you share what exactly was wrong? As I said this question comes from time to time, so it would be nice to know the reason and solution.


To summarize my friend who helped me said it’s a security concern and that the plugins do not load properly …

It looked at the file index.html

And to modify this line

	<meta http-equiv="Content-Security-Policy" content="default-src *;
		style-src * 'self' 'unsafe-inline' 'unsafe-eval';
		script-src * 'self' 'unsafe-inline' 'unsafe-eval';">

By this one

	<meta http-equiv="Content-Security-Policy" content="default-src * gap://ready; style-src 'self' 'unsafe-inline'; 
	style-src * 'self' 'unsafe-inline' 'unsafe-eval';
	script-src * 'unsafe-inline' 'unsafe-eval'">

And the on ios 10 it works

1 Like