Skip to content

Commit afd6a6e

Browse files
authored
Fix location of setPersistenceEnabled in Android
1 parent 2f8304d commit afd6a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v3.0.*/release-notes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and follow the migration guide below (there isn't much to change).
1111
## Known Issues
1212

1313
- Currently no way (in JS) to set database persistence, you can however set this natively:
14-
- [android] add `FirebaseDatabase.getInstance().setPersistenceEnabled(true);` to your `MainActivity` `onCreate` method.
14+
- [android] add `FirebaseDatabase.getInstance().setPersistenceEnabled(true);` to your `MainApplication` `onCreate` method.
1515
- [ios] add `[FIRDatabase database].persistenceEnabled = YES;` after the `[FIRApp configure];` line inside your `AppDelegate` `didFinishLaunchingWithOptions` method.
1616
- Currently no way to enable RNFirebase debug logging.
1717
- [android] no play store/play services version checks and associated methods.

0 commit comments

Comments
 (0)