Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 2.76 KB

README.md

File metadata and controls

54 lines (33 loc) · 2.76 KB

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 on Native Mobile Android.

Getting started

To apply the FullStory Android Plugin, you'll need Android 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 for FullStory, add to your local.properties file the following:

org = <your org id>
enabledVariants = all

To find your FullStory Org Id, see How do I find my FullStory Org Id?.

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.

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:

Diagram

Tips and tricks