0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00

docs(connector): remove redundant query configs in wechat native readme (#1422)

This commit is contained in:
Xiao Yijun 2022-07-05 21:04:34 +08:00 committed by GitHub
parent fcd70d1232
commit 5512f9f4ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -255,21 +255,18 @@ src/main/kotlin/com/sample/app/wxapi/WXEntryActivity.kt
**3. Modify the `AndroidManifest.xml`**
Add the following lines to your `AndroidManifest.xml`:
Add the following line to your `AndroidManifest.xml`:
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sample.app">
<queries>
<!-- line to be added -->
<package android:name="com.tencent.mm" />
</queries>
<application>
<!-- line to be added -->
<activity android:name=".wxapi.WXEntryActivity" android:exported="true"/>
</application>
</manifest>
```
@ -511,15 +508,12 @@ src/main/kotlin/com/sample/app/wxapi/WXEntryActivity.kt
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sample.app">
<queries>
<!-- 添加的代码 -->
<package android:name="com.tencent.mm" />
</queries>
<application>
<!-- 添加的代码 -->
<activity android:name=".wxapi.WXEntryActivity" android:exported="true"/>
</application>
</manifest>
```