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.
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 {
}
);
If you are going to check Location sharing feature,
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"/>
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>
- flutter pub get
- flutter run
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).