Ionic Native API、Sqlite

——————————————————————————————————————————————- public boolean tabbleIsExi […]

IonicでBluetooth連携

https://ionicframework.com/docs/native/bluetooth-serial/ https://qiita.com/megadreams14/items/9fc55877de9457e9c71d

typescript uuid生成

import { v4 as uuid} from ‘uuid’; this.data = uuid(); npm package: https://www.npmjs.com/package/uuid ※nodejs、angularなどを使う時に、uuidがすでにインストールされたかも。。

Cannot find module ‘rxjs-compat/Observable’.

ERROR in node_modules/@ionic-native/in-app-browser/index.d.ts(2,10): error TS2305: Module ‘XXXXXXXXXXXXXXXXXXX/node_modules/rxjs/Observable”‘ has no exported member ‘Observable’.XXXXXXXXXXXXXXXnode_modules/rxjs/Observable”‘ has no exported member ‘Observable’. node_modules/rxjs/Observable.d.ts(1 […]

How to determine if browser or app

import { Platform } from ‘ionic-angular’; @Component({…}) export MyPage { constructor(public plt: Platform) { if (this.plt.is(‘ios’)) { // This will only print when on iOS console.log(‘I am an iOS device!’); } } } https://ionicframework.com/docs/api/platform/Platform/