Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用sdk安卓下应用闪退 #104

Open
biglin opened this issue Feb 22, 2020 · 4 comments
Open

使用sdk安卓下应用闪退 #104

biglin opened this issue Feb 22, 2020 · 4 comments

Comments

@biglin
Copy link

biglin commented Feb 22, 2020

cordova-android: 8.1.0
cordova:9.0.0 (cordova-lib@9.0.1)

"cordova-plugin-qqsdk": "^0.9.7",
"@ionic-native/qqsdk": "^5.21.5",

审核已经通过且已配置apk签名,安卓下调起qq后,应用闪退

@kyxiao
Copy link

kyxiao commented Feb 25, 2020

我也遇到相同问题,有好的解决办法吗?

@ZhongYueHui
Copy link

我也遇到了相同的问题 请问你们解决吗

@kyxiao
Copy link

kyxiao commented May 7, 2020

我也遇到了相同的问题 请问你们解决吗

我的解决办法是,手动添加如下代码到platforms\android\app\src\main\AndroidManifest.xml

<activity android:launchMode="singleTask" android:name="com.tencent.tauth.AuthActivity" android:noHistory="true">
    <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />
        <data android:scheme="tencent123456789" />
    </intent-filter>
</activity>
<activity android:configChanges="orientation|keyboardHidden" android:name="com.tencent.connect.common.AssistActivity" android:screenOrientation="portrait" android:theme="@android:style/Theme.Translucent.NoTitleBar" />

@mengerzhuanyong
Copy link

有效+1,但在Android8.0上存在竖屏闪退问题,需要处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants