We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0428b74 commit fe0519fCopy full SHA for fe0519f
packages/firebase_snippets_app/lib/snippets/firestore.dart
@@ -1069,12 +1069,8 @@ class FirestoreSnippets extends DocSnippet {
1069
1070
void accessDataOffline_configure() async {
1071
// [START access_data_offline_configure_offline_persistence]
1072
- // Apple and Android
+ // Apple, Android and Web
1073
db.settings = const Settings(persistenceEnabled: true);
1074
-
1075
- // Web
1076
- await db
1077
- .enablePersistence(const PersistenceSettings(synchronizeTabs: true));
1078
// [END access_data_offline_configure_offline_persistence]
1079
}
1080
0 commit comments