Skip to content

Commit 68ad6ed

Browse files
committed
添加上传图片
添加上传图片
1 parent eba3512 commit 68ad6ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/src/main/java/com/netease/im/RNNeteaseImModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ public void onResult(int code, Team team, Throwable throwable) {
728728
});
729729
}
730730

731-
// @ReactMethod
731+
@ReactMethod
732732
public void upload(String file, final Promise promise) {
733733
if (TextUtils.isEmpty(file)) {
734734
return;
@@ -1650,7 +1650,7 @@ public void play(String audioFile, Promise promise) {
16501650
}
16511651

16521652
@ReactMethod
1653-
public void playLocal(String resourceFile,String type, Promise promise) {
1653+
public void playLocal(String resourceFile, String type, Promise promise) {
16541654

16551655
Uri uri = Uri.parse(resourceFile);
16561656
audioPlayService.playAudio(handler, reactContext, AudioManager.STREAM_MUSIC, uri.getScheme(), uri.getPath());

0 commit comments

Comments
 (0)