Skip to main content

Jins Meme

Implementation of the JINS MEME SDK

https://github.com/BlyncSync/cordova-plugin-jins-meme

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Installation#

$ npm install cordova-plugin-jins-meme
$ npm install @ionic-native/jins-meme
$ ionic cap sync

Supported Platforms#

  • Android
  • iOS

Usage#

React#

Learn more about using Ionic Native components in React

Angular#

import { JinsMeme } from '@ionic-native/jins-meme/ngx';
constructor(private jinsMeme: JinsMeme) { }
...
this.jinsMeme.setAppClientID(appClientId: string, clientSecret: string).then(
// Bluetooth should be enabled and the JINS MEME powered on (blinking blue light)
this.jinsMeme.startScan().subscribe((meme_addr) => {
this.jinsMeme.connect(meme_addr).subscribe((connectResult) => {
this.memeService.startDataReport().subscribe((dataReport) => {
console.log(dataReport);
});
});
});
.catch(console.log('jinsMeme.setAppClientID authentication error'));