File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dependencies {
2121```
2222
2323
24- ###### USAGE
24+ ##### USAGE
2525call SimpleFirebaseAnalytics.init() method on your Application.onCreate() method
2626``` Java
2727public class YourApplication extends Application {
@@ -50,6 +50,7 @@ public class YourApplication extends Application {
5050```
5151
5252just define @FirebaseScreen annotation to Activity , Fragment class instead of call FirebaseAnalytics.setCurrentScreen()
53+ then automatically call screen event when Activity, Fragment is created or resume.
5354
5455```Java
5556@FirebaseScreen("main_screen")
@@ -79,3 +80,6 @@ and send firebase event using object.
7980 SimpleFirebaseAnalytics.sendEvent (ClickEvent .create ("snackbar ", "some extra here "));
8081```
8182
83+
84+ #### Limitation
85+ - use AppCompatActivity to use Fragment screen logging (FragmentLifeCycle observing supported since API level 26 )
You can’t perform that action at this time.
0 commit comments