Skip to content

Commit 253c05e

Browse files
committed
Merge branch 'v2'
2 parents 67c760c + 4be3713 commit 253c05e

File tree

150 files changed

+1107
-598
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+1107
-598
lines changed

Utils.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22
import { NativeModules,Platform, NetInfo } from 'react-native';
33

4-
const { RNNeteaseIm } = NativeModules;
4+
const { RNNeteaseIm,PinYin } = NativeModules;
55

66
class Utils{
77
/**
@@ -59,12 +59,8 @@ class Utils{
5959
stopPlay(){
6060
return RNNeteaseIm.stopPlay();
6161
}
62-
/**
63-
* 取消播放录音
64-
* @returns {*}
65-
*/
66-
cancelAudioRecord(){
67-
return RNNeteaseIm.cancelAudioRecord();
62+
sortPinYin(o,key){
63+
return PinYin.sortPinYin(o,key);
6864
}
6965
}
7066
module.exports = new Utils();
-6.85 KB
Binary file not shown.
-6.36 KB
Binary file not shown.
-6.9 KB
Binary file not shown.
-6.63 KB
Binary file not shown.
-6.76 KB
Binary file not shown.
-7.25 KB
Binary file not shown.
-7.49 KB
Binary file not shown.
-6.79 KB
Binary file not shown.

0 commit comments

Comments
 (0)