Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.07 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.07 KB

Easy-Link

Example for integration of Twnel with others apps.

Dependences

App Links SDK for Android

http://boltsframework.github.io/docs/android/

Add the following line to your 'build.gradle' file

compile 'com.parse.bolts:bolts-android:1.1.4'

call navigateToChat method in Utils.java from your activity or fragment

    /**
     * Method to navigate to chat room in Twnel App
     *
     * @param context
     * @param companyId               example easytaxi
     * @param originPackageName       A fully-qualified package name for intent generation (for back your app)
     * @param originActivityClassName A fully-qualified Activity class name for intent generation (for back your app)
     */
     public static void navigateToChat( Context context,  String companyId,  String originPackageName, String originActivityClassName) 


 	//example 
 	 Utils.navigateToChat(MainActivity.this,"easytaxi", "com.twnel.easylink", "com.twnel.easylink.MainActivity");

About App Links

http://applinks.org/