【发布时间】:2019-01-18 17:55:57
【问题描述】:
我正在尝试创建一个连接到 Firestore 以存储和检索数据的颤振应用程序。从颤动的 cloud_firestore 插件文档中,我可以看到我需要一些值来配置它。
final FirebaseApp app = await FirebaseApp.configure(
name: 'test',
options: const FirebaseOptions(
googleAppID: '1:79601577497:ios:5f2bcc6ba8cecddd',
gcmSenderID: '79601577497',
apiKey: 'AIzaSyArgmRGfB5kiQT6CunAOmKRVKEsxKmy6YI-G72PVU',
projectID: 'flutter-firestore',
),
);
我知道如何获取 gcmSenderID、apiKey 和 projectID,但我不明白如何获取 googleAppID。
请指教 final Firestore firestore = new Firestore(app: app);
【问题讨论】:
-
谢谢,我没有注意到客户列表中的 id
标签: firebase google-cloud-firestore flutter