Android Steps for Integrating Felt Experience

Add Felt Library to Your Project

  • Use Gradle to add Felt Pod to your project.
  • Add Felt Pod’s repository to your app’s build.gradle file under dependencies.

Initialize Felt Module

  • Import Felt module in your application code.
  • Call the init function of Felt Library, passing the JSON object as a parameter for initial context. This can be done in the onCreate method of the activity that will contain Felt Experience.

Create a New Tab for Remote Care

  • Use BottomNavigationView or a similar component to manage your tabs.
  • Create a new Fragment or Activity for Felt Library.
  • Configure navigation to show Felt Library’s Fragment or Activity when the corresponding tab is selected.

Load Felt Experience When the Tab Is Selected

  • Implement a NavigationItemSelectedListener or similar for your tab component.
  • In the listener, check if the selected item is the Remote Care tab. If so, initialize or re-initialize Felt Library with the JSON object.

Native Permissions for Video Visits

Enable these permissions for video visit functionality: Microphone, Camera, Bluetooth, and Photo Library

  • Add <uses-feature> declaration in your AndroidManifest.xml file as shown below:
    <uses-feature android:name="android.hardware.camera" android:required="false" />

Testing and Validation

  • Ensure that Felt Experience loads correctly within its tab.
  • Verify that the initial context provided through the JSON object is correctly applied within Felt Library.
  • Test navigation to and from Felt tab with authorized and unauthorized users, to ensure Felt Experience is managed correctly.

Troubleshooting and Support

  • Consult Felt’s documentation for any specific integration issues.
  • Check for any platform-specific considerations that might affect integration.
  • If encountering issues, reach out to Felt’s support team with a detailed description of the problem, including error logs and screenshots.

Congratulations! By following these steps, you should be able to integrate the Felt experience into your native Android application. Felt works seamlessly with your existing navigation system and provides your users a customized experience based on the initial context provided.