Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70805

Capacitor context issue

$
0
0

Hi , I am building a capacitor plugin for the minew sdk to get and receive beacon data.

I have the ios part working great but I have hit an issue with Andriod.

My plugin code is

    public void startScan(PluginCall call) {
   mMtCentralManager = MTCentralManager.getInstance( this); 
}

The error reads
Required Type: Context
Provided" MinewPlugin

How do I get the correct context so I can attach an instance of this method?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70805

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>