cordova-plugin-trtc/plugin.xml

292 lines
16 KiB
XML
Raw Normal View History

2021-12-21 16:35:16 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-trtc"
version="1.0.0">
<name>Trtc</name>
<description>TRTC Plugin</description>
<keywords>cordova,TRTC,live</keywords>
<license>MIT License</license>
<dependency id="cordova-plugin-androidx"/>
<dependency id="cordova-plugin-androidx-adapter"/>
<preference name="APP_ID" default="sdk_app_id"/>
<preference name="PERMISSION_MIC_DESC" default="应用需要访问您的麦克风"/>
<preference name="PERMISSION_CAMERA_DESC" default="应用需要访问您的摄像头"/>
<engines>
<engine name="cordova-android" version=">=4.0.0"/>
</engines>
<js-module src="www/trtc.js" name="trtc">
<clobbers target="cordova.plugin.trtc"/>
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Trtc">
<param name="ios-package" value="TrtcPlugin"/>
<!-- <param name="onload" value="true" /> -->
</feature>
</config-file>
<config-file target="*-Info.plist" parent="NSMicrophoneUsageDescription">
<string>$PERMISSION_MIC_DESC</string>
</config-file>
<config-file target="*-Info.plist" parent="NSCameraUsageDescription">
<string>$PERMISSION_CAMERA_DESC</string>
</config-file>
<header-file src="src/ios/TrtcPlugin.h"/>
<source-file src="src/ios/TrtcPlugin.m"/>
<header-file src="src/ios/Trtc/TCLiveConfigDefine.h"/>
<header-file src="src/ios/Trtc/TCLiveJoinRoomViewController.h"/>
<source-file src="src/ios/Trtc/TCLiveJoinRoomViewController.m"/>
<header-file src="src/ios/Trtc/TCLiveRequestManager.h"/>
<source-file src="src/ios/Trtc/TCLiveRequestManager.m"/>
<header-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveChatTableView.h"/>
<source-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveChatTableView.m"/>
<header-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveChatTableViewCell.h"/>
<source-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveChatTableViewCell.m"/>
<header-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveRoomViewController.h"/>
<source-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveRoomViewController.m"/>
<header-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveUITools/UIColorEX.h"/>
<source-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveUITools/UIColorEX.m"/>
<header-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveUITools/UIToastView.h"/>
<source-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveUITools/UIToastView.m"/>
<header-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveVideoControlBar.h"/>
<source-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveVideoControlBar.m"/>
<header-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveVideoLayoutView.h"/>
<source-file src="src/ios/Trtc/TCLiveRoomVC/TCLiveVideoLayoutView.m"/>
<resource-file src="src/ios/TrtcConfig.plist"/>
<!-- images -->
<resource-file src="src/ios/res/beauty-dis.png"/>
<resource-file src="src/ios/res/beauty.png"/>
<resource-file src="src/ios/res/bg.png"/>
<resource-file src="src/ios/res/camera-gray.png"/>
<resource-file src="src/ios/res/camera.png"/>
<resource-file src="src/ios/res/chat.png"/>
<resource-file src="src/ios/res/doubleroom.png"/>
<resource-file src="src/ios/res/feedback.png"/>
<resource-file src="src/ios/res/ic_toast_success@2x.png"/>
<resource-file src="src/ios/res/icon_sign@2x.png"/>
<resource-file src="src/ios/res/log.png"/>
<resource-file src="src/ios/res/log2.png"/>
<resource-file src="src/ios/res/mic-dis.png"/>
<resource-file src="src/ios/res/mic.png"/>
<resource-file src="src/ios/res/muti_room_bg.png"/>
<resource-file src="src/ios/res/role.png"/>
<resource-file src="src/ios/res/ui_title_arrow_left.png"/>
<!-- lib -->
<framework src="Accelerate.framework"/>
<framework src="AssetsLibrary.framework"/>
<framework src="AVFoundation.framework"/>
<framework src="CoreGraphics.framework"/>
<framework src="CoreMedia.framework"/>
<framework src="CoreTelephony.framework"/>
<framework src="CoreVideo.framework"/>
<framework src="ImageIO.framework"/>
<framework src="JavaScriptCore.framework"/>
<framework src="OpenAL.framework"/>
<framework src="OpenGLES.framework"/>
<framework src="QuartzCore.framework"/>
<framework src="SystemConfiguration.framework"/>
<framework src="VideoToolbox.framework"/>
<framework src="libbz2.tbd"/>
<framework src="libc++.tbd"/>
<framework src="libiconv.tbd"/>
<framework src="libicucore.tbd"/>
<framework src="libprotobuf.tbd"/>
<framework src="libresolv.tbd"/>
<framework src="libsqlite3.tbd"/>
<framework src="libstdc++.6.tbd"/>
<framework src="libstdc++.tbd"/>
<framework src="libz.tbd"/>
<!-- sdk -->
<framework src="src/ios/libs/AVSDK/QAVSDK.framework" custom="true"/>
<framework src="src/ios/libs/IMSDK/IMCore.framework" custom="true"/>
<framework src="src/ios/libs/IMSDK/ImSDK.framework" custom="true"/>
<framework src="src/ios/libs/IMSDK/IMSDKBugly.framework" custom="true"/>
<framework src="src/ios/libs/IMSDK/QALSDK.framework" custom="true"/>
<framework src="src/ios/libs/IMSDK/TLSSDK.framework" custom="true"/>
<framework src="src/ios/libs/ILiveSDK/ILiveSDK.framework" custom="true"/>
<framework src="src/ios/libs/ILiveSDK/ILiveLogReport.framework" custom="true"/>
<framework src="src/ios/libs/ILiveSDK/TILLiveSDK.framework" custom="true"/>
<framework src="src/ios/libs/BeautySDK/Pitu/GPUImage.framework" custom="true"/>
<source-file src="src/ios/libs/BeautySDK/Pitu/libcrypto.a" framework="true"/>
<source-file src="src/ios/libs/BeautySDK/Pitu/libssl.a" framework="true"/>
<header-file src="src/ios/libs/BeautySDK/include/TXCRenderView.h"/>
<header-file src="src/ios/libs/BeautySDK/include/TXCVideoPreprocessor.h"/>
<header-file src="src/ios/libs/BeautySDK/include/TXEVideoPreprocessorDef.h"/>
<header-file src="src/ios/libs/BeautySDK/include/TXEVideoTypeDef.h"/>
<header-file src="src/ios/libs/BeautySDK/include/TXINotifyDelegate.h"/>
<header-file src="src/ios/libs/BeautySDK/include/TXIVideoPreprocessorDelegate.h"/>
<source-file src="src/ios/libs/BeautySDK/libTXMRenderer.a" framework="true"/>
<source-file src="src/ios/libs/BeautySDK/libTXMVideoPreprocessor.a" framework="true"/>
<source-file src="src/ios/libs/BeautySDK/libTXMBasic.a" framework="true"/>
<config-file target="*TrtcConfig.plist" parent="AppId">
<string>$APP_ID</string>
</config-file>
</platform>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="Trtc">
<param name="android-package" value="com.chuwa.cordova.trtc.Trtc"/>
<!-- <param name="onload" value="true" /> -->
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- <uses-feature android:name="android.hardware.camera" />-->
<!-- <uses-feature android:name="android.hardware.camera.autofocus" />-->
</config-file>
<config-file target="res/values/strings.xml" parent="/resources">
<string name="trtc_app_id">$APP_ID</string>
<string name="str_enter_tips">腾讯视频通话</string>
<string name="str_room_title">房间名</string>
<string name="str_room_id">房间ID</string>
<string name="str_create_btn">创建房间</string>
<string name="str_switch_camera">翻转</string>
<string name="str_chat_tab">聊天</string>
<string name="str_wb_tab">白板</string>
<string name="msg_title">消息</string>
<string name="str_input_tips">输入文字内容</string>
<string name="str_beauty">美颜</string>
<string name="str_log">日志</string>
<string name="str_voice">声音</string>
<string name="str_room_id_tips">输入房间号</string>
<string name="str_enter_room_btn">进入房间</string>
<string name="str_role">配置</string>
<string name="str_feedback">反馈</string>
<string name="str_set_role">请选择要配置的分辨率</string>
<string name="str_chat">聊天</string>
<string name="str_set_problem">请选择反馈类型</string>
<string name="str_problem_other">请输入具体问题描述</string>
<string name="str_feedback_ret">非常感谢您的反馈</string>
<string name="str_login_success">登录成功</string>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.chuwa.cordova.trtc.CreateActivity" android:launchMode="singleTask"
android:screenOrientation="portrait">
</activity>
<activity android:name="com.chuwa.cordova.trtc.RoomActivity" android:windowSoftInputMode="adjustPan"
android:launchMode="singleInstance" android:screenOrientation="portrait">
</activity>
<activity android:name="android.java.com.example.basic.TRTCBaseActivity" android:windowSoftInputMode="adjustPan"
android:launchMode="singleInstance" android:screenOrientation="portrait">
</activity>
<activity android:name="com.tencent.trtc.videocall.VideoCallingActivity" android:windowSoftInputMode="adjustPan"
android:launchMode="singleInstance" android:screenOrientation="portrait" android:theme="@style/AppTheme">
</activity>
<activity android:name="com.tencent.trtc.videocall.VideoCallingEnterActivity" android:windowSoftInputMode="adjustPan"
android:launchMode="singleInstance" android:screenOrientation="portrait" android:theme="@style/AppTheme">
</activity>
</config-file>
<source-file src="src/android/Trtc.java" target-dir="src/com/chuwa/cordova/trtc"/>
<source-file src="src/android/java/com/example/basic/TRTCBaseActivity.java"
target-dir="src/android/java/com/example/basic"/>
<source-file src="src/android/java/com/tencent/trtc/videocall/BuildConfig.java"
target-dir="src/com/tencent/trtc/videocall"/>
<source-file src="src/android/java/com/tencent/trtc/videocall/FloatingView.java"
target-dir="src/com/tencent/trtc/videocall"/>
<source-file src="src/android/java/com/tencent/trtc/videocall/VideoCallingActivity.java"
target-dir="src/com/tencent/trtc/videocall"/>
<source-file src="src/android/java/com/tencent/trtc/videocall/VideoCallingEnterActivity.java"
target-dir="src/com/tencent/trtc/videocall"/>
<source-file src="src/android/java/com/tencent/trtc/debug/Constant.java"
target-dir="src/com/tencent/trtc/debug"/>
<resource-file src="src/android/res/drawable/videocall_background.xml"
target="res/drawable/videocall_background.xml"/>
<resource-file src="src/android/res/drawable/common_button_bg.xml"
target="res/drawable/common_button_bg.xml"/>
<resource-file src="src/android/res/drawable/common_edit_bg.xml"
target="res/drawable/common_edit_bg.xml"/>
<resource-file src="src/android/res/drawable/common_seekbar_style.xml"
target="res/drawable/common_seekbar_style.xml"/>
<resource-file src="src/android/res/drawable/common_seekbar_thumb.xml"
target="res/drawable/common_seekbar_thumb.xml"/>
<resource-file src="src/android/res/drawable/common_selector_radio_bg.xml"
target="res/drawable/common_selector_radio_bg.xml"/>
<resource-file src="src/android/res/layout/videocall_activit_enter.xml"
target="res/layout/videocall_activit_enter.xml"/>
<resource-file src="src/android/res/layout/videocall_activity_calling.xml"
target="res/layout/videocall_activity_calling.xml"/>
<resource-file src="src/android/res/layout/videocall_popup_layout.xml"
target="res/layout/videocall_popup_layout.xml"/>
<resource-file src="src/android/res/layout/videocall_view_floating_default.xml"
target="res/layout/videocall_view_floating_default.xml"/>
<resource-file src="src/android/res/mipmap-xxhdpi/videocall_float_logo.png"
target="res/mipmap-xxhdpi/videocall_float_logo.png"/>
<resource-file src="src/android/res/mipmap-xxhdpi/videocall_home.png"
target="res/mipmap-xxhdpi/videocall_home.png"/>
<resource-file src="src/android/res/mipmap-xxhdpi/common_ic_back.png"
target="res/mipmap-xxhdpi/common_ic_back.png"/>
<resource-file src="src/android/res/mipmap-xxhdpi/common_user_portrait.png"
target="res/mipmap-xxhdpi/common_user_portrait.png"/>
<resource-file src="src/android/res/mipmap-xxhdpi/earpiece.png"
target="res/mipmap-xxhdpi/earpiece.png"/>
<resource-file src="src/android/res/mipmap-xxhdpi/mac_off.png"
target="res/mipmap-xxhdpi/mac_off.png"/>
<resource-file src="src/android/res/mipmap-xxhdpi/mac_on.png"
target="res/mipmap-xxhdpi/mac_on.png"/>
<resource-file src="src/android/res/mipmap-xxhdpi/speaker.png"
target="res/mipmap-xxhdpi/speaker.png"/>
<resource-file src="src/android/res/mipmap-xxhdpi/swap_camera.png"
target="res/mipmap-xxhdpi/swap_camera.png"/>
<resource-file src="src/android/res/mipmap-xxhdpi/view_close.png"
target="res/mipmap-xxhdpi/view_close.png"/>
<resource-file src="src/android/res/mipmap-xxhdpi/view_open.png"
target="res/mipmap-xxhdpi/view_open.png"/>
<resource-file src="src/android/res/values/colors.xml"
target="res/values/colors.xml"/>
<resource-file src="src/android/res/values/strings.xml"
target="res/values/strings.xml"/>
<resource-file src="src/android/res/values/styles.xml"
target="res/values/styles.xml"/>
<resource-file src="src/android/res/values-en/strings.xml"
target="res/values-en/strings.xml"/>
<resource-file src="src/android/res/values-en/styles.xml"
target="res/values-en/styles.xml"/>
<!-- <lib-file src="src/android/libs/lib.jar" /> -->
<framework src="com.tencent.liteav:LiteAVSDK_TRTC:latest.release"/>
<framework src="androidx.appcompat:appcompat:1.1.0"/>
<framework src="androidx.constraintlayout:constraintlayout:1.1.3"/>
<framework src="com.android.support:multidex:1.0.1"/>
<framework src="com.tencent.ilivesdk:ilivesdk:1.9.3"/>
<framework src="com.tencent.ilivefilter:liteav_normal:1.1.21"/>
<framework src="com.google.android.material:material:1.3.0"/>
</platform>
</plugin>