Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.63 KB

README.md

File metadata and controls

53 lines (37 loc) · 1.63 KB

MirrorFly Chat App Sample for Flutter

If you're looking for the fastest way in action with CONTUS TECH MirrorFly Plugin, then you need to build your app on top of our sample version. Simply download the sample app and commence your app development.

Configuration

Replace the licence key with yours in main.dart file. to run before.

  Mirrorfly.initializeSDK(
    licenseKey: 'Your_License_Key_Here',
    iOSContainerID: 'group.com.mirrorfly.flutter', //Container ID should be same as App Groups 
    chatHistoryEnable: true,
    flyCallback: (response) async {
        
    }
);

Google Services

If you are going to check Location sharing feature,

Android

Specify your API key in the application manifest android/app/src/main/AndroidManifest.xml:

    <meta-data android:name="com.google.android.geo.API_KEY"
    android:value="YOUR GOOGLE KEY HERE"/>

    <meta-data android:name="com.google.android.geo.API_THUMP_KEY"
    android:value="YOUR GOOGLE KEY HERE"/>

iOS

Specify your API key in the AppDelegate.swift and info.plist

  GMSServices.provideAPIKey("YOUR GOOGLE KEY HERE")
  <key>API_THUMP_KEY</key>
  <string>YOUR GOOGLE KEY HERE</string>

Run project

  • flutter pub get
  • flutter run

Getting Help

Check out the Official MirrorFly Flutter docs and MirrorFly Developer Portal for tutorials and videos. If you need any help in resolving any issues or have questions, Drop a mail to (integration@contus.in).