Comments (3)
This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed.
Please see the Contributing Guide for how to create a Sample App.
Thanks! Ionitron 💙
from capacitor.
It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot.
Have a great day!
Ionitron 💙
from capacitor.
I hit this same issue, where several plugins (including the capacitor-provided "App" plugin) were "not implemented on android". (despite them clearly existing, and my seeing their initializations in the android logs)
Base situation: My app's "public" folder merely held "stub" index.html
and index.js
files, which would immediately redirect to my web-hosted domain at page load time.
Fix: Rather than use those "stub" files with redirection, instead I just provided my web-hosted domain as the server.url
field on capacitor.config.json
.
Diagnosis: I think what happened is that somewhere in the updates from Capacitor 4 to 6, the plugin-injection system was optimized to complete earlier in the page loading process. So the redirect that my "stub" (EDIT: See threads below for the actual reason. It has to do with the plugin-injection code not being permitted on domains other than the start (stub/localhost) domain, unless you add this patch.)index.js
file wants to do, used to complete before the page redirect, whereas on Capacitor 6 it completes after the plugins were already injected, causing the newly loaded page to then lose access to those injected plugins.
Anyway, my redirect approach is a bit non-standard, so maybe it's not the reason for the issue you're hitting. But I figured I would mention it, since there aren't many google hits for this error message.
EDIT: Oh, I see the issue above (#7467) describes this. And following that chain, there is a also fix/workaround for it here.
from capacitor.
Related Issues (20)
- [Feature]: Http plugin: Support ArrayBuffer as request body and response HOT 3
- [Bug]: Sending TypedArray as fetch body gets JSON.stringified HOT 3
- [Bug]: CapacitorHttp post return data is wrong HOT 3
- ios Build failed HOT 2
- [Feature]: expose `methodName` via `CAPPluginCall` HOT 1
- [Bug]: Update CapacitorHttp "Large File Support" doc, fix Filesystem.downloadFile() doc HOT 2
- [Feature]: Update CapacitorHttp "Large File Support" doc
- [Feature]: material you themeing HOT 1
- [Bug]: Migration to version 6 fails to update gradle wrapper files HOT 2
- [Bug]: Scroll position not restored when navigating back HOT 1
- [Feature]: Provide an iOS privacy manifest compliant version of the device plugin HOT 1
- CapacitorHttp plugin is not accepting Formdata for image upload[Bug]: HOT 8
- [Bug]: Focus is reset to the first focus element when put the focus by physical keyboard and rotate the screen HOT 1
- [Bug]: Focus is reset to the first focus element when put the focus by physical keyboard and rotate the screen
- [Bug]: @capacitor/google-maps "Error calling method create on plugin CapacitorGoogleMaps: No method found." on iOS HOT 3
- Creating a Cross-Platform Library with Capacitor for Android and iOS Integration HOT 1
- [Feature]: how to do ssl pinning? HOT 3
- [Feature]: How to output logs HOT 1
- [Bug]: Capacitor 6 get image from gallery pop-up does not work anymore HOT 2
- [Bug]: was capacitor team has decrease develops or got a layoff in past,seems alot of bugs not have a good resolve,just close it via bot HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capacitor.