BlinkUp

Contents

Electric Imp BlinkUp ionic plugin.

https://github.com/SensorShare/cordova-plugin-blinkup

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic BlinkUp插件的安装(Installation)

ionic cordova plugin add cordova-plugin-blinkup npm install @ionic-native/blinkup
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/blinkup

Ionic BlinkUp插件支持的平台(Supported Platforms)

  • Android
  • iOS

Ionic BlinkUp插件的用法(Usage)

import { BlinkUp } from '@ionic-native/blinkup/ngx';

const options = <BlinkUpWifiOptions>{
   apiKey: 'API_KEY',
   timeoutMs: 60000,
   ssid: 'MY_SSID',
   password: 'MY_PASSWORD'
 }
 BlinkUp.flashWifiBlinkUp(options).subscribe(
    (result) => console.log('Done'),
    (error) => console.log(error)
  )