Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: All plugins return not implemented on Android/IOS on Fresh new NextJS App #7848

Open
1 of 3 tasks
GabrielHK97 opened this issue Jan 28, 2025 · 4 comments
Open
1 of 3 tasks

Comments

@GabrielHK97
Copy link

GabrielHK97 commented Jan 28, 2025

Capacitor Version

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 7.0.1
  @capacitor/core: 7.0.1
  @capacitor/android: 7.0.1
  @capacitor/ios: 7.0.1

Installed Dependencies:

  @capacitor/cli: 7.0.1
  @capacitor/core: 7.0.1
  @capacitor/android: 7.0.1
  @capacitor/ios: 7.0.1

any plugin i install and implement on the app is returning as not implemented on Android...

The exception that happens is this, IDK if it is just with NextJS or a Capactor issue

Image

Other API Details

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

Any plugin i install, (I installed Preferences and LocalNotifications) is not implemented on android

Expected Behavior

It should install plugins that i want

Project Reproduction

https://github.com/GabrielHK97/test-app

Additional Information

No response

@GabrielHK97 GabrielHK97 changed the title [Bug]: All plugins return not implemented on Android [Bug]: All plugins return not implemented on Android on Fresh new App Jan 28, 2025
@GabrielHK97 GabrielHK97 changed the title [Bug]: All plugins return not implemented on Android on Fresh new App [Bug]: All plugins return not implemented on Android/IOS on Fresh new App Jan 28, 2025
@GabrielHK97 GabrielHK97 changed the title [Bug]: All plugins return not implemented on Android/IOS on Fresh new App [Bug]: All plugins return not implemented on Android/IOS on Fresh new NextJS App Jan 28, 2025
@jcesarmobile
Copy link
Member

They are working fine for me.
Can you provide more information about how are you running the app?
I tried both running npm run dev, adjusting the IP on capacitor.config.ts to my own and running from Android Studio, and also running npm run build and removing the server object from capacitor.config.ts so it uses local assets and both worked.

Also, can you provide information about the device/emulator you are using to test like the Android version and the WebView version?

@jcesarmobile jcesarmobile added the needs reply needs reply from the user label Jan 29, 2025
@ionitron-bot ionitron-bot bot removed the triage label Jan 29, 2025
@berndlackinger

This comment has been minimized.

@Ionitron Ionitron removed the needs reply needs reply from the user label Jan 31, 2025
@jcesarmobile jcesarmobile added the needs reply needs reply from the user label Feb 1, 2025
@GabrielHK97
Copy link
Author

I found a solution, i had to downgrade to v6 to work. Also, kinda off topic, but im currently working with a capacitor app that uses remote files, that's why im using a server url. Is it possible to run remote files and BackgroundRunner? I was able to do a workaround and patch the runner.js directly into the ios and android folders afeter cap sync and cap copy, so runner is identified. But i only get: "Scheduling com.kuppona.app.runner" when i minimize the app but i have no console logs on the backgroundRunner itself, i used try catch...

@Ionitron Ionitron removed the needs reply needs reply from the user label Feb 7, 2025
@ciccilleju
Copy link

i had a similar issue, I can't use my app with capacitor 7, i had to downgrade to capacitor 6, i've tried anything without luck

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants