Skip to content

Commit

Permalink
Merge pull request #3 from MirrorFly/feature/version_update_007
Browse files Browse the repository at this point in the history
v2.0.0
  • Loading branch information
manivendhan-contus authored Jun 8, 2023
2 parents f6b4e3d + 0070ab1 commit c8acf70
Show file tree
Hide file tree
Showing 95 changed files with 2,614 additions and 7,621 deletions.
39 changes: 20 additions & 19 deletions .idea/libraries/Dart_SDK.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,33 @@ If you're looking for the fastest way in action with CONTUS TECH [MirrorFly Plug

## Configuration

Replace the `licence key` with yours in `main.dart` file.
Replace the `licence key` , `ios Container ID` with yours in `main.dart` file.

```dart
Mirrorfly.init(
baseUrl: 'https://api-preprod-sandbox.mirrorfly.com/api/v1/',
licenseKey: 'Please enter your License key',
iOSContainerID: 'group.com.mirrorfly.qa')
iOSContainerID: 'Please enter your Container ID') //Container ID should be same as App Groups
```
## 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:
```dart
<meta-data android:name="com.google.android.geo.API_KEY"
android:value="YOUR GOOGLE KEY HERE"/>
```
Specify your API key in the application Constant dart file lib/app/common/constants.dart
```dart
static const String googleMapKey = "YOUR GOOGLE KEY HERE";
```
# iOS
Specify your API key in the AppDelegate.swift

```dart
GMSServices.provideAPIKey("YOUR GOOGLE KEY HERE")
```

## Run project
Expand Down
22 changes: 1 addition & 21 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply plugin: 'kotlin-kapt'
apply plugin: 'com.google.gms.google-services'

android {
compileSdkVersion flutter.compileSdkVersion
Expand All @@ -49,7 +48,7 @@ android {
applicationId "com.mirrorfly.uikit_flutter.qa"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion flutter.minSdkVersion
minSdkVersion 21
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down Expand Up @@ -104,30 +103,11 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
// implementation ('com.fly.sdk:appbase:0.0.5')
configurations {
all {
exclude group: 'org.json', module: 'json'
exclude group: 'xpp3', module: 'xpp3'
}
}
// implementation 'com.mirrorfly.sdk:appbase:0.0.12'

/*// Import the Firebase BoM
implementation platform('com.google.firebase:firebase-bom:30.2.0')
// Add the dependency for the Firebase SDK for Google Analytics
// When using the BoM, don't specify versions in Firebase dependencies
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-messaging'
//Glide - versions.gradle
implementation "com.github.bumptech.glide:glide:4.14.2"
kapt "com.github.bumptech.glide:compiler:4.11.0"
//KTX Depenedency
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
implementation 'androidx.fragment:fragment-ktx:1.5.5'
implementation 'androidx.activity:activity-ktx:1.7.0-alpha02'*/
}

98 changes: 0 additions & 98 deletions android/app/google-services.json

This file was deleted.

100 changes: 0 additions & 100 deletions android/app/src/dev/google-services.json

This file was deleted.

2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
android:name="flutterEmbedding"
android:value="2" />
<meta-data android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyCfG5u1-XDZhWD8vOZGK5hTKyqsVOjHSSM"/>
android:value="YOUR GOOGLE KEY HERE"/>
<meta-data
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value="true" />
Expand Down
Loading

0 comments on commit c8acf70

Please sign in to comment.