A: When using a built-in UI (localhost) all plugins work.
B: When using a remote UI (https via server.url) all plugins work.
C: (ONLY ANDROID) When built-in UI redirects to remote UI this error appears:
Msg: ERROR Error: Uncaught (in promise): Error: “PushNotifications” plugin is not implemented on android
Capacitor.isNativePlatform() return true
Capacitor.getPlatform() return ‘android’
Capacitor.isPluginAvailable(‘PushNotifications’) returns false (even for all other plugins)
All of this works fine on iOS.
Please take a look at the Capacitor documentation at Plugin Not Implemented.
Thank you, but i already tried all of these. The funny thing is - i hav a second Project doing exactly the same thsin, and there it works - all configs and gradle/java files are exactly the same. I don’t get it.
Have you tried deleting the entire project and cloning it again so that all temporary files are removed?
I found the solution!
The built-in UI used http from @capacitor/core to check if the remote UI is reachable.
When i change that import back to the previously used @capacitor-community/http it works!
Hi berndlackinger, i have the same problem ! Can you tell me how do you resolve it precisely .
Thank you so much for the answer .
i changed the import of Http from @capacitor/core to @capacitor-community/http