Toggle navigation
Toggle navigation
This project
Loading...
Sign in
hh_public
/
hh_sdk_flutter_demo
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangguolei
2022-04-20 18:22:20 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ef6c68d1bb690b5d488f623072535241cc329f32
ef6c68d1
1 parent
582152ab
fix
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
93 additions
and
48 deletions
android/app/build.gradle
ios/Podfile
ios/Podfile.lock
ios/Runner.xcodeproj/project.pbxproj
ios/Runner/Info.plist
lib/main.dart
android/app/build.gradle
View file @
ef6c68d
...
...
@@ -56,5 +56,5 @@ flutter {
dependencies
{
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation
'com.hhmedic.android.sdk:hh_trtc:3.
2.0.01131726
'
implementation
'com.hhmedic.android.sdk:hh_trtc:3.
4.0.04191618
'
}
...
...
ios/Podfile
View file @
ef6c68d
...
...
@@ -6,6 +6,11 @@ target 'Runner' do
use_frameworks!
# Pods for Runner
pod
'HHVDoctorSDK'
,
:git
=>
"http://code.hh-medic.com/hh_public/hhvDoctorSDK.ios.git"
,
:tag
=>
"3.1.8.12081754"
pod
'HHVDoctorSDK'
,
:git
=>
"http://code.hh-medic.com/hh_public/hhvDoctorSDK.ios.git"
,
:tag
=>
'z3.4.0.04201608'
pod
'TXLiteAVSDK_TRTC'
,
'~> 9.5.11344'
#
pod
'TXIMSDK_Plus_iOS'
# pod 'HHFaceSDK' ,:git=>"http://code.hh-medic.com/hh_public/HHFaceSDK.ios.git"
end
...
...
ios/Podfile.lock
View file @
ef6c68d
PODS:
- HHVDoctorSDK (3.1.8.12081754):
- HHVDoctorSDK/Base (= 3.1.8.12081754)
- TXIMSDK_iOS
- HHVDoctorSDK/Base (3.1.8.12081754):
- TXIMSDK_iOS
- TXIMSDK_iOS (5.1.62)
- HHFaceSDK (1.0.0.032210):
- HHFaceSDK/Base (= 1.0.0.032210)
- HHFaceSDK/Base (1.0.0.032210)
- HHVDoctorSDK (3.4.0.04201608)
- TXIMSDK_Plus_iOS (6.1.2166)
- TXLiteAVSDK_TRTC (9.5.11344):
- TXLiteAVSDK_TRTC/TRTC (= 9.5.11344)
- TXLiteAVSDK_TRTC/TRTC (9.5.11344)
DEPENDENCIES:
- HHVDoctorSDK (from `http://code.hh-medic.com/hh_public/hhvDoctorSDK.ios.git`, tag `3.1.8.12081754`)
- HHFaceSDK (from `http://code.hh-medic.com/hh_public/HHFaceSDK.ios.git`)
- HHVDoctorSDK (from `http://code.hh-medic.com/hh_public/hhvDoctorSDK.ios.git`, tag `z3.4.0.04201608`)
- TXIMSDK_Plus_iOS
- TXLiteAVSDK_TRTC (~> 9.5.11344)
SPEC REPOS:
trunk:
- TXIMSDK_iOS
- TXIMSDK_Plus_iOS
- TXLiteAVSDK_TRTC
EXTERNAL SOURCES:
HHFaceSDK:
:git: http://code.hh-medic.com/hh_public/HHFaceSDK.ios.git
HHVDoctorSDK:
:git: http://code.hh-medic.com/hh_public/hhvDoctorSDK.ios.git
:tag:
3.1.8.12081754
:tag:
z3.4.0.04201608
CHECKOUT OPTIONS:
HHFaceSDK:
:commit: 55f71add80d996a90e7212bfce6a8f4acf9da98f
:git: http://code.hh-medic.com/hh_public/HHFaceSDK.ios.git
HHVDoctorSDK:
:git: http://code.hh-medic.com/hh_public/hhvDoctorSDK.ios.git
:tag:
3.1.8.12081754
:tag:
z3.4.0.04201608
SPEC CHECKSUMS:
HHVDoctorSDK: becd28c5f8d790054f9aac97764c7a2aa66712db
TXIMSDK_iOS: 4016cc84a61db57fc8ca024becf47ad229bbeef1
HHFaceSDK: f21365b7800160d37761b11909355750f00ff7d9
HHVDoctorSDK: 6b412e07938c09925213b4563200dc90d94e687c
TXIMSDK_Plus_iOS: 9edddba97d7ad3691ac278e81ee89e0a72a90f5e
TXLiteAVSDK_TRTC: 8262c47c3e9ea0506677e3b746a5fbafe94f35f7
PODFILE CHECKSUM:
891c2c78423fe3d936fe4806920fa8d0bf437e99
PODFILE CHECKSUM:
92d78fcb8e421539174022c9a7d25c9e5ad53098
COCOAPODS: 1.11.2
...
...
ios/Runner.xcodeproj/project.pbxproj
View file @
ef6c68d
...
...
@@ -142,7 +142,7 @@
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
CD4A7ED612D76914EC032036 /* [CP] Embed Pods Frameworks */,
15D85B9C4CB25F3ADA418C31
/* [CP] Copy Pods Resources */,
F1C5D6BBCDF18EEC53ACF507
/* [CP] Copy Pods Resources */,
);
buildRules = (
);
...
...
@@ -201,23 +201,6 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
15D85B9C4CB25F3ADA418C31 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
showEnvVarsInLog = 0;
};
34DD5C6CA50A5873482FC0A4 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
...
...
@@ -285,6 +268,23 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
F1C5D6BBCDF18EEC53ACF507 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
...
...
@@ -374,19 +374,26 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ARCHS = arm64;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2022.04.2018;
DEVELOPMENT_TEAM = SX7LU85BSD;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.hhDemo;
MARKETING_VERSION = 3.1.2;
PRODUCT_BUNDLE_IDENTIFIER = com.hh.hhvdoctorSDK;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
VERSIONING_SYSTEM = "apple-generic";
};
name = Profile;
...
...
@@ -502,20 +509,27 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
buildSettings = {
ARCHS = arm64;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2022.04.2018;
DEVELOPMENT_TEAM = SX7LU85BSD;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.hhDemo;
MARKETING_VERSION = 3.1.2;
PRODUCT_BUNDLE_IDENTIFIER = com.hh.hhvdoctorSDK;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
...
...
@@ -524,19 +538,26 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ARCHS = arm64;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2022.04.2018;
DEVELOPMENT_TEAM = SX7LU85BSD;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.hhDemo;
MARKETING_VERSION = 3.1.2;
PRODUCT_BUNDLE_IDENTIFIER = com.hh.hhvdoctorSDK;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;
...
...
ios/Runner/Info.plist
View file @
ef6c68d
...
...
@@ -4,6 +4,8 @@
<dict>
<key>
CFBundleDevelopmentRegion
</key>
<string>
$(DEVELOPMENT_LANGUAGE)
</string>
<key>
CFBundleDisplayName
</key>
<string>
招商信诺im_plus
</string>
<key>
CFBundleExecutable
</key>
<string>
$(EXECUTABLE_NAME)
</string>
<key>
CFBundleIdentifier
</key>
...
...
@@ -15,13 +17,23 @@
<key>
CFBundlePackageType
</key>
<string>
APPL
</string>
<key>
CFBundleShortVersionString
</key>
<string>
$(
FLUTTER_BUILD_NAME
)
</string>
<string>
$(
MARKETING_VERSION
)
</string>
<key>
CFBundleSignature
</key>
<string>
????
</string>
<key>
CFBundleVersion
</key>
<string>
$(
FLUTTER_BUILD_NUMBER
)
</string>
<string>
$(
CURRENT_PROJECT_VERSION
)
</string>
<key>
LSRequiresIPhoneOS
</key>
<true/>
<key>
NSCameraUsageDescription
</key>
<string>
应用需使用相机权限,以便您向医生进行视频咨询。
</string>
<key>
NSMicrophoneUsageDescription
</key>
<string>
应用需使用麦克风权限,以便您向医生进行视频咨询。
</string>
<key>
NSPhotoLibraryUsageDescription
</key>
<string>
应用需要使用相册权限,以便您向医生发送健康资料。
</string>
<key>
UIBackgroundModes
</key>
<array>
<string>
audio
</string>
</array>
<key>
UILaunchStoryboardName
</key>
<string>
LaunchScreen
</string>
<key>
UIMainStoryboardFile
</key>
...
...
@@ -41,11 +53,5 @@
</array>
<key>
UIViewControllerBasedStatusBarAppearance
</key>
<false/>
<key>
NSPhotoLibraryUsageDescription
</key>
<string>
应用需要使用相册权限,以便您向医生发送健康资料。
</string>
<key>
NSCameraUsageDescription
</key>
<string>
应用需使用相机权限,以便您向医生进行视频咨询。
</string>
<key>
NSMicrophoneUsageDescription
</key>
<string>
应用需使用麦克风权限,以便您向医生进行视频咨询。
</string>
</dict>
</plist>
...
...
lib/main.dart
View file @
ef6c68d
...
...
@@ -41,7 +41,7 @@ class _MyHomePageState extends State<MyHomePage> {
void
skipToChatHome
(){
_hhPlatform
.
invokeMapMethod
(
"skipToChatHome"
,
{
"sdkProductId"
:
"
3000
"
,
// 分配的产品ID
"sdkProductId"
:
"
9001
"
,
// 分配的产品ID
"isDevelop"
:
true
,
// 是否开始测试服模式,开启后连接测试服务器
"userToken"
:
"3BCC438BBBE99F86C48A3C1DB11A43843F0D04F68EA2608F6783B874E4F50EEF"
// 用户 userToken
});
...
...
Please
register
or
login
to post a comment