Firebaseをバックエンドとして使用し、Ionic 2を使用している場合、Touch IDを使用できますか? これは私の現在のコードです。FirebaseとIonic 2のタッチID? #askfirebase
platform.ready().then(() => {
touchid.checkSupport(() => {
touchid.authenticate((result) => {
ngZone.run(() => {
this.navCtrl.setRoot(TabsPage);
});
}, (error) => {
alertCtrl.create({
title: "Attention!",
subTitle: error,
buttons: ["Close"]
});
}, "Please Authenticate");
}, (error) => {
alertCtrl.create({
title: "Attention!",
subTitle: "Touch ID is not supported",
buttons: ["Close"]
});
});
});
タッチID機能はバックエンドとは何の関係もありません。イオン2と一緒に使うことができます。 –