You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: firebase-appdistribution/test-app/README.md
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -55,20 +55,22 @@ In-App Feedback is currently tricky to test locally because it relies on the
55
55
fact that a release exists with the same hash of the running binary.
56
56
57
57
To build the debug APK, upload it to App Distribution, and install it on the running emulator:
58
+
1. In firebase-appdistribution/test-app/test-app.gradle, uncomment the line `// testers "your email here"` and replace "your email here" with the email you intend to use for testing.
58
59
1. Start an emulator
59
-
2. Run the following command from the repo's root directory:
60
+
1. Run the following command from the repo's root directory:
This will build the debug variant of the app (which has the full SDK), upload it to App Distribution, and install it on the running emulator. Run the app in the emulator to test. As an alternative you can always download it using App Distribution, but using `adb` is just faster.
64
67
65
-
After that, if you want to avoid having to do this every time you want to test
66
-
locally:
68
+
After that, if you want to avoid having to do this every time you want to test locally:
67
69
68
70
1. Submit feedback in the locally running app, to generate some logs
69
-
2. In the Logcat output, find the release name (i.e. "projects/1095562444941/installations/fCmpB677QTybkwfKbViGI-/releases/3prs96fui9kb0")
70
-
3. Modify the body of `ReleaseIdentifier.identifyRelease()` to be:
71
+
1. In the Logcat output, find the release name (i.e. `"projects/1095562444941/installations/fCmpB677QTybkwfKbViGI-/releases/3prs96fui9kb0"`)
72
+
1. Modify the body of `ReleaseIdentifier.identifyRelease()` to be:
0 commit comments