framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
18.04k stars 3.23k forks source link

Plugin support capacitor #4159

Open PeraDev7 opened 1 year ago

PeraDev7 commented 1 year ago

Describe the bug

When i add a capacitor plugin on framework7, and add the code to initialize in app.js, nothing works. The plugin seems to not loading/working.

To Reproduce

Ex. stripe plugin :

npm install @capacitor-community/stripe npx cap sync

Add the code on app.js :

import { Stripe } from '@capacitor-community/stripe'; Stripe.initialize({ publishableKey: "Your Publishable Key", });

If i'm wrong, i cannot find any documentation/docs on web, for this.