在带有 flutter 的 ios 上 我已将“确定”按钮的操作设置为“https://www.google.com/”,但是当我在 ios 上打开应用程序时,会显示测试通知模式,但是当我单击“确定”按钮时,模式关闭并且 google.com 链接未打开。我想知道我的问题是什么 在此输入图片描述
我希望当我按下“确定”按钮时,google.com 链接就会打开
这是应用程序中的init firebase
import 'package:firebase_in_app_messaging/firebase_in_app_messaging.dart';
class FirebaseInAppMsg {
FirebaseInAppMsg();
Future initialise() async {
FirebaseInAppMessaging.instance;
}
}
我用过:
FirebaseInAppMsg firebaseMessaging = FirebaseInAppMsg();
await firebaseMessaging.initialise();
同: https://firebase.flutter.dev/docs/in-app-messaging/get-started