Skip to content

Commit 7535360

Browse files
committed
fix can't find NIMContentProvider
1 parent 293944a commit 7535360

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTy
227227
<meta-data
228228
android:name="com.netease.nim.appKey"
229229
android:value="App Key" />
230+
<!--添加新的 IPC 数据共享机制,替换不安全的多进程读写 SharedPreference-->
231+
<provider
232+
android:name="com.netease.nimlib.ipc.NIMContentProvider"
233+
android:authorities="com.dowin.react.ETengPay.ipc.provider"
234+
android:exported="false"
235+
android:process=":core" />
230236
231237
```
232238

0 commit comments

Comments
 (0)