Unable to use some Cordova Plugins like Paypal, Splashscreen, etc

As I wrote before, these integrations in the CLI have nothing to do with the Ionic Native and Ionic Angular. Totally different thing. You should switch to newest versoin again.

Please create a new project with ionic start blank blank and run that and see if it also has problems with the Native plugins added by default.

We are 20 posts in this topic now, so I ask and don’t search if this was covered before:
How are you building your app exaclty? What command are you running?

I will try to create a new Project. Then start integrating the Libs again, lets see if that will work out.

Also i am using the normal cmd to build the project:
ionic cordova build android.

Ok, just wanted to make sure that it wasn’t something really basic we missed in the beginning like e.g. testing with ionic serve :wink:

Hi, I have done what you said about creating a new Basic project and integrating my other features.

It seems its working, now i am able to control the Splash Screen !

I am guessing that the project got corrupted or something such happened when i tried to upgrade to the latest Ionic Version or some other reasons.

I will post updates as to where i am.

Thanks for your support. :sweat_smile::sweat_smile:

1 Like

Its finally working.

Following is my steps of restoring my project:

Created Basic project.

Added package.json

Added Splash and Icon

Added Config.xml

Added config folder

npm Install
*Issue: Error: Failed to render sass to css
Followed instructions at this link to set up custom icons:
https://github.com/GerritErpenstein/ionic2-custom-icons/blob/master/docs/CONFIGURATION.md

npm install ionic

ionic cordova build android
*Issue: Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.
Saw this link:
[Warning] Native: deviceready did not fire within 2000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them. (app.bundle.js, line 63826)
Removing and adding Platform again.

After removing and adding the SplashScreen Plugin, i was able to solve the issue.

1 Like