gpt4 book ai didi

android - 使用新的谷歌云消息传递的 Flash Air ANE 推送通知

转载 作者:行者123 更新时间:2023-11-29 18:09:38 24 4
gpt4 key购买 nike

我尝试使用此 ANE 注册到新的 GCM: https://github.com/freshplanet/ANE-Push-NotificationiOS 推送正常,但 Android 版本卡住并显示此跟踪消息:无法识别的事件正在注册

这是我的 xml 描述符:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/3.2">
<id>com.arthesis.xxxxxxxx</id>
<filename>testPushNotification</filename>
<name>testPushNotification</name>
<versionNumber>1.0</versionNumber>
<initialWindow>
<content>xxxxxxxx.swf</content>
<autoOrients>false</autoOrients>
<fullScreen>true</fullScreen>
<visible>true</visible>
<renderMode>auto</renderMode>
<aspectRatio>landscape</aspectRatio>
</initialWindow>
<icon>
<image48x48>icones/icon-48.png</image48x48>
<image72x72>icones/icon-72.png</image72x72>
</icon>
<iPhone>
<InfoAdditions><![CDATA[<key>UIDeviceFamily</key><array><string>1</string><string>2</string></array>]]></InfoAdditions>
<requestedDisplayResolution>high</requestedDisplayResolution>
<Entitlements><![CDATA[
<key>get-task-allow</key>
<false/>
<key>aps-environment</key>
<string>production</string>
<key>application-identifier</key>
<string>XXXXXXXXX.com.arthesis.xxxxxxxx</string>
<key>keychain-access-groups</key>
<array>
<string>XXXXXXXXX.*</string>
</array>
]]></Entitlements>
</iPhone>
<android>
<manifestAdditions><![CDATA[<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>

<!-- Only this application can receive the messages and registration result -->
<permission android:name="air.com.arthesis.xxxxxxxx.debug.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="air.com.arthesis.xxxxxxxx.debug.permission.C2D_MESSAGE" />

<!-- This app has permission to register and receive message -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />

<application>
<!-- Only C2DM servers can send messages for the app. If permission is not set - any other app can generate it -->
<receiver android:name="com.arthesis.xxxxxxxx.C2DMBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND">

<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="air.com.arthesis.xxxxxxxx.debug" />
</intent-filter>

<intent-filter>
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="air.com.arthesis.xxxxxxxx.debug" />
</intent-filter>

</receiver>
</application>

</manifest>]]></manifestAdditions>
</android>
<supportedLanguages>fr</supportedLanguages>
<versionLabel></versionLabel>
<extensions>
<extensionID>com.freshplanet.AirPushNotification</extensionID>
</extensions>

应用是使用 Flash Pro CS6 构建的。

有人帮帮我吗?

最佳答案

他们肯定需要为您更新扩展程序。有一些微妙的变化。我们刚刚更新了我们的 distriqt native 扩展包 here如果你有兴趣。

关于android - 使用新的谷歌云消息传递的 Flash Air ANE 推送通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11450273/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com