capacitor-community / native-market

MIT License
27 stars 16 forks source link

Capacitor v3 #7

Closed djonmayer closed 1 year ago

djonmayer commented 3 years ago

If I use this plugin with capacitor v3, I get this error:

`Error: node_modules/@capacitor/core/types/definitions-internal.d.ts:16:18 - error TS2430: Interface 'CapacitorInstance' incorrectly extends interface 'CapacitorGlobal'. Types of property 'Plugins' are incompatible. 16 Property 'NativeMarket' is missing in type '{ [pluginName: string]: { [prop: string]: any; }; }' but required in type 'PluginRegistry'.

export interface CapacitorInstance extends CapacitorGlobal {


  node_modules/@capacitor-community/native-market/dist/esm/definitions.d.ts:3:9
     3       NativeMarket: NativeMarketPlugin;
'NativeMarket' is declared here.`
jordanorc commented 3 years ago

Any upgrade on this?

Anket-21 commented 3 years ago

https://ionicframework.com/docs/native/market/

You can refer the above Link 💯

stefanhk31 commented 3 years ago

Are there even instructions for v3? Readme doesn't use the RegisterPlugin method that v3 plugins implement. I was hoping that Android Studio would show me a class to import, but no such luck.

studio64_xJHv5DACA4

playaz87 commented 3 years ago

Will this be updated for v3? I'm also getting Property 'NativeMarket' is missing in type '{ [pluginName: string]: { [prop: string]: any; }; }' but required in type 'PluginRegistry'

GosuMania commented 2 years ago

any news???

hermitdemschoenenleben commented 2 years ago

this fork works for me with capacitor 3: https://github.com/hermitdemschoenenleben/native-market

riderx commented 2 years ago

if you need i published it with capacitor 3 https://www.npmjs.com/package/@capgo/native-market

jcesarmobile commented 1 year ago

I've released 4.0.0 with Capacitor 4 support, it should have fixed this issue. Also 5.0.0 with Capacitor 5 support. If the problem is still present, please, create a new issue and provide a sample app that reproduces the issue

There won't be a release with Capacitor 3 support.