mirror of
https://github.com/OpenFlutter/fluwx.git
synced 2025-05-17 23:36:13 +08:00
support OpenCustomerServiceChat on android
This commit is contained in:
@ -2,15 +2,14 @@ group 'com.jarvan.fluwx'
|
||||
version '1.0-SNAPSHOT'
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.4.10'
|
||||
ext.kotlin_version = '1.5.21'
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:4.1.0'
|
||||
classpath 'com.android.tools.build:gradle:4.1.3'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
}
|
||||
}
|
||||
@ -18,7 +17,6 @@ buildscript {
|
||||
rootProject.allprojects {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
@ -44,11 +42,11 @@ android {
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||||
api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.7.4'
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9'
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
implementation 'top.zibin:Luban:1.1.8'
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
|
||||
testImplementation 'junit:junit:4.12'
|
||||
api 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:6.7.9'
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1'
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1'
|
||||
implementation 'androidx.appcompat:appcompat:1.3.1'
|
||||
implementation 'id.zelory:compressor:3.0.1'
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ packages:
|
||||
name: async
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.5.0"
|
||||
version: "2.6.1"
|
||||
boolean_selector:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -73,7 +73,7 @@ packages:
|
||||
path: ".."
|
||||
relative: true
|
||||
source: path
|
||||
version: "3.4.2"
|
||||
version: "3.5.1"
|
||||
matcher:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -258,3 +258,8 @@ Future<bool> authWeChatByPhoneLogin(
|
||||
return await _channel
|
||||
.invokeMethod("authByPhoneLogin", {"scope": scope, "state": state});
|
||||
}
|
||||
|
||||
Future<bool> openWeChatCustomerServiceChat({required String url, required String corpId}) async {
|
||||
return await _channel
|
||||
.invokeMethod("openWeChatCustomerServiceChat", {"corpId": url, "url": url});
|
||||
}
|
@ -7,7 +7,7 @@ packages:
|
||||
name: async
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.5.0"
|
||||
version: "2.6.1"
|
||||
boolean_selector:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
Reference in New Issue
Block a user