Commit d844eea689ca0d9b02905a932f3f97d0f3511000
1 parent
21d238a1
更新 APPKey,补充资源文件
Showing
6 changed files
with
35 additions
and
6 deletions
.idea/modules.xml
| @@ -3,6 +3,8 @@ | @@ -3,6 +3,8 @@ | ||
| 3 | <component name="ProjectModuleManager"> | 3 | <component name="ProjectModuleManager"> |
| 4 | <modules> | 4 | <modules> |
| 5 | <module fileurl="file://$PROJECT_DIR$/CNChatNDemo.iml" filepath="$PROJECT_DIR$/CNChatNDemo.iml" /> | 5 | <module fileurl="file://$PROJECT_DIR$/CNChatNDemo.iml" filepath="$PROJECT_DIR$/CNChatNDemo.iml" /> |
| 6 | + <module fileurl="file://$PROJECT_DIR$/CNIMDemo.iml" filepath="$PROJECT_DIR$/CNIMDemo.iml" /> | ||
| 7 | + <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> | ||
| 6 | <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> | 8 | <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> |
| 7 | </modules> | 9 | </modules> |
| 8 | </component> | 10 | </component> |
.idea/vcs.xml
0 → 100644
app/build.gradle
| @@ -5,7 +5,7 @@ android { | @@ -5,7 +5,7 @@ android { | ||
| 5 | buildToolsVersion "25.0.2" | 5 | buildToolsVersion "25.0.2" |
| 6 | defaultConfig { | 6 | defaultConfig { |
| 7 | applicationId "com.cnlive.im" | 7 | applicationId "com.cnlive.im" |
| 8 | - minSdkVersion 22 | 8 | + minSdkVersion 16 |
| 9 | targetSdkVersion 25 | 9 | targetSdkVersion 25 |
| 10 | versionCode 1 | 10 | versionCode 1 |
| 11 | versionName "1.0" | 11 | versionName "1.0" |
app/src/main/AndroidManifest.xml
| @@ -46,10 +46,6 @@ | @@ -46,10 +46,6 @@ | ||
| 46 | android:windowSoftInputMode="adjustResize" | 46 | android:windowSoftInputMode="adjustResize" |
| 47 | /> | 47 | /> |
| 48 | 48 | ||
| 49 | - <meta-data | ||
| 50 | - android:name="RONG_CLOUD_APP_KEY" | ||
| 51 | - android:value="此处添加APP_KEY" /> | ||
| 52 | - | ||
| 53 | <service | 49 | <service |
| 54 | android:name="io.rong.imlib.ipc.RongService" | 50 | android:name="io.rong.imlib.ipc.RongService" |
| 55 | android:exported="true" | 51 | android:exported="true" |
app/src/main/java/com/cnlive/im/CNLiveApplication.java
| @@ -14,7 +14,7 @@ public class CNLiveApplication extends Application { | @@ -14,7 +14,7 @@ public class CNLiveApplication extends Application { | ||
| 14 | @Override | 14 | @Override |
| 15 | public void onCreate() { | 15 | public void onCreate() { |
| 16 | super.onCreate(); | 16 | super.onCreate(); |
| 17 | - Config.init(this, "60_j07o9s9b65", "b0d8df0b4bb3fef43339b1edea4f33f58efe99e26681ca"); | 17 | + Config.init(this, "60_j07o9s9b65", "dc1e76f87c7c2d83dcedb8a1204ec22fca3e156b21eb0d"); |
| 18 | } | 18 | } |
| 19 | } | 19 | } |
| 20 | 20 |
app/src/main/res/values/cnlive_im.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="utf-8"?> | ||
| 2 | +<resources> | ||
| 3 | + | ||
| 4 | + <string name="rc_quit_custom_service">客服已结束</string> | ||
| 5 | + <string name="rc_init_failed">连接客服失败</string> | ||
| 6 | + <string name="rc_location_sharing_ended">位置共享已结束</string> | ||
| 7 | + | ||
| 8 | + <string name="rc_notification_ticker_text">您有了一条新消息</string> | ||
| 9 | + <string name="rc_notification_new_msg">%1$s发来了%2$d条消息</string> | ||
| 10 | + <string name="rc_notification_new_plural_msg">%1$d个联系人发来了%2$d条消息</string> | ||
| 11 | + | ||
| 12 | + <!--设置语音消息的码率 (单位 bps)--> | ||
| 13 | + <integer name="rc_audio_encoding_bit_rate">7950</integer> | ||
| 14 | + | ||
| 15 | + <!--原图压缩比例--> | ||
| 16 | + <integer name="rc_image_quality">85</integer> | ||
| 17 | + <!--原图压缩宽、高--> | ||
| 18 | + <integer name="rc_image_size">960</integer> | ||
| 19 | + <!-- 设置发送输入状态 --> | ||
| 20 | + <bool name="rc_typing_status">false</bool> | ||
| 21 | + <!-- 下载文件默认存储路径 --> | ||
| 22 | + <string name="rc_media_message_default_save_path">/RongCloud/Media/</string> | ||
| 23 | + <!-- 是否开启 Extension 记忆功能 --> | ||
| 24 | + <bool name="rc_extension_history">false</bool> | ||
| 25 | +</resources> | ||
| 0 | \ No newline at end of file | 26 | \ No newline at end of file |