https://github.com/fullstorydev/android-shoppe-demo
FullStory Android demo
https://github.com/fullstorydev/android-shoppe-demo
Last synced: about 1 year ago
JSON representation
FullStory Android demo
- Host: GitHub
- URL: https://github.com/fullstorydev/android-shoppe-demo
- Owner: fullstorydev
- License: mit
- Created: 2020-02-18T20:03:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-09T18:27:43.000Z (about 3 years ago)
- Last Synced: 2023-08-05T19:11:23.977Z (almost 3 years ago)
- Language: Java
- Homepage:
- Size: 897 KB
- Stars: 3
- Watchers: 13
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# android-shoppe-demo
Android Client for the example "Shoppe" app
The Android Shoppe Demo is a reference application that provides tips and tricks to using [FullStory](https://www.fullstory.com/) on [Native Mobile](https://www.fullstory.com/mobile-apps/) Android.
## Getting started
To apply the FullStory Android Plugin, you'll need [Android Studio](https://developer.android.com/studio). You'll then download or clone this repo to your desired directory.
To open the project, use "File > Open" in Android Studio and selece either "java" or "kotlin"(coming soon) folder.
## Adding FullStory to the app
If you have [signed up](https://www.fullstory.com/plans/) for FullStory, add to your `local.properties` file the following:
```
org =
enabledVariants = all
```
To find your FullStory Org Id, see [How do I find my FullStory Org Id?](https://help.fullstory.com/hc/en-us/articles/360047075853).
Sync gradle after the changes and your app should be fully instrumented with your org information.
## Using the app
The Shoppe is a super simple e-commerce application. Build and run the app on your emulator, you can:
- Browse a list of products int the _Market_.
- Use the **Add to Cart** button to add products to your shopping cart.
- Go to your _Shopping Cart_ by clicking on the cart icon on the top right corner.
- Review your cart and then click the **Checkout** button.
- Fill out the form on the _Checkout_ view and click **Purchase**. The app persists locally all the information from this view. Please do **not** use your real information
- When clicking **Purchase** your information is validated and a Toast message will be shown. The purchase is successful if all fields passed the validate and your subtotal is greater than 0.
## Using FullStory with the app
Now that you've used the app, you have a session in FullStory. Head on over to FullStory [https://app.fullstory.com/login](https://app.fullstory.com/login).
Make sure you background or kill your app. This ensures that FullStory receives a signal in order to start processing your session. This may take few minutes.
Then you can find your session by going to the mobile segment in FullStory, or build your own segment/search.
Check out a few sessions and explore the data to get a feel for how you'd use FullStory on your own app.
## App Architecture
See diagram below for the [app architecture](https://developer.android.com/jetpack/docs/guide):

## Tips and tricks
- Checkout our [Native Mobile Privacy Rules](https://help.fullstory.com/hc/en-us/articles/360043356573-Native-Mobile-Privacy-Rules).
- For step by step guide checkout: [Getting Started Guide](https://help.fullstory.com/hc/en-us/articles/360040596093-Getting-Started-with-Android-Recording).