Issue
i got this error when i upgraded my Ionic 5 project to Capacitor 3.1.1. on update i started getting this.
ERROR Error: Uncaught (in promise): Error: "SplashScreen" plugin is not implemented on android Error: "SplashScreen" plugin is not implemented on android
i need help here..
Solution
According to Capacitor js guide https://capacitorjs.com/docs/updating/3-0#switch-to-automatic-android-plugin-loading
Have to remove this method in MainActivity.java.
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
- // Additional plugins you've installed go here
- add(Plugin1.class);
- add(Plugin2.class);
- }});
Answered By - Ivan
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.