Copy link to clipboard
Copied
I released an iOS app.
But I got review that the app don't run or crash when launch.
・iOS9 SE
・iOS10.2 iPhone7
・iOS10.2 iPhone7 plus
・iOS10.1 iPhone6s plus
They say that the above devices are not work.
It seems that it occurred at some devices.
//////////////////////////////////////////////////////////////////////
I using Adobe Flash CC 14.2.0.20,AIR SDK 24.0.0.148
I using some milkman ANEs.
my application.xml is here.
////////////////////
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<application xmlns="http://ns.adobe.com/air/application/24.0">
<id>xxx.xxx.xxx.xxx</id>
<versionNumber>2.0.17</versionNumber>
<filename>xxxxxxxxx</filename>
<description></description>
<!-- To localize the description, use the following format for the description element.
<description>
<text xml:lang="en">English App description goes here</text>
<text xml:lang="fr">French App description goes here</text>
<text xml:lang="ja">Japanese App description goes here</text>
</description>
-->
<name>xxxxxx</name>
<!-- To localize the name, use the following format for the name element.
<name>
<text xml:lang="en">English App name goes here</text>
<text xml:lang="fr">French App name goes here</text>
<text xml:lang="ja">Japanese App name goes here</text>
</name>
-->
<copyright></copyright>
<initialWindow>
<content>xxxxx.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>true</fullScreen>
<autoOrients>false</autoOrients>
<aspectRatio>portrait</aspectRatio>
<renderMode>auto</renderMode>
</initialWindow>
<customUpdateUI>false</customUpdateUI>
<allowBrowserInvocation>false</allowBrowserInvocation>
<icon>
<image29x29>iOS_icon/29x29.png</image29x29>
<image57x57>iOS_icon/57x57.png</image57x57>
<image114x114>iOS_icon/114x114.png</image114x114>
<image512x512>iOS_icon/512x512.png</image512x512>
<image48x48>iOS_icon/48x48.png</image48x48>
<image72x72>iOS_icon/72x72.png</image72x72>
<image50x50>iOS_icon/50x50.png</image50x50>
<image58x58>iOS_icon/58x58.png</image58x58>
<image100x100>iOS_icon/100x100.png</image100x100>
<image144x144>iOS_icon/144x144.png</image144x144>
<image1024x1024>iOS_icon/1024.png</image1024x1024>
<image40x40>iOS_icon/40x40.png</image40x40>
<image76x76>iOS_icon/76x76.png</image76x76>
<image80x80>iOS_icon/80x80.png</image80x80>
<image120x120>iOS_icon/120x120.png</image120x120>
<image152x152>iOS_icon/152x152.png</image152x152>
</icon>
<iPhone>
<requestedDisplayResolution>high</requestedDisplayResolution>
<InfoAdditions><![CDATA[
<key>MinimumOSVersion</key>
<string>5.1.1</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>xxx.xxx.xxx</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
<key>UIApplicationExitsOnSuspend</key> <false/>
<key>UIDeviceFamily</key>
<array><string>1</string><string>2</string></array>
]]></InfoAdditions>
</iPhone>
<extensions>
<extensionID>com.milkmangames.extensions.AdMob</extensionID>
<extensionID>com.milkmangames.extensions.GoogleServices</extensionID>
<extensionID>com.milkmangames.extensions.StoreKit</extensionID>
<extensionID>com.milkmangames.extensions.GoViral</extensionID>
</extensions>
</application>
/////////////////////////////////////////
Please advise me about this problem.
Hi Xan,
Please refer to below release notes and go through the section "Permissions on Android and iOS".
Release Notes Flash Player 24 AIR 24
If you are accessing files in your application and using AIRSDK 24, You need to request Permissions in your code for the File class.
Please let me know if it helps you.
Thanks,
Adobe AIR Team
Copy link to clipboard
Copied
I think there are many people who released iOS app by flash/animate.
Does anyone have no problem at iPhone6plus,7plus,SE ?
Copy link to clipboard
Copied
Hi Xan,
Are you using any Permission Events in your action script code?
It will be very helpful if you can share a sample application with us to reproduce the problem at our end.
Thanks,
Adobe AIR Team
Copy link to clipboard
Copied
Thank you fou your comment.
I dont know about "Permission Events" well.
I use no permission event,I think.
For your reference the android version's .xml file's permission setting is here.
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
My app is very complicated so it is difficult to make sample...
So I will send a message of my app url for now.
Copy link to clipboard
Copied
Hi Xan,
Please refer to below release notes and go through the section "Permissions on Android and iOS".
Release Notes Flash Player 24 AIR 24
If you are accessing files in your application and using AIRSDK 24, You need to request Permissions in your code for the File class.
Please let me know if it helps you.
Thanks,
Adobe AIR Team
Copy link to clipboard
Copied
Thank you for you comment.
I'll check it.
Copy link to clipboard
Copied
The sample code at "Permissions on Android and iOS" is about camera,
and I can't well understand about file permission.
Now I wrote below code,and run well when publish on flashCC.
Is it right code?
---------------------
check_file_permission();
function check_file_permission():void
{
var file : File = new File();
if (File.permissionStatus != PermissionStatus.GRANTED){
file.addEventListener(PermissionEvent.PERMISSION_STATUS, function(e:PermissionEvent):void {
if (e.status == PermissionStatus.GRANTED) {
checkdb();
}else{
trace("permission_denied")}
});
try {
file.requestPermission();
} catch(e:Error)
{
// another request is in progress
}
}
else
{
checkdb();
}
}
function checkdb():void
{
storedKey = EncryptedLocalStore.getItem(Encrypted_Store_Key_Name);
if (! storedKey){
storedKey = createRandomKey();
EncryptedLocalStore.setItem(Encrypted_Store_Key_Name,storedKey);
}
var storagePath:File = File.documentsDirectory;
var file : File = storagePath.resolvePath("xxxxx");
file.createDirectory();
var dbFile:File = storagePath.resolvePath("xxxxx/"+Encrypted_Db_File);
con=new SQLConnection();
con.addEventListener(SQLEvent.OPEN,openHandler);
con.addEventListener(SQLErrorEvent.ERROR,errorHandler);
con.openAsync (dbFile,SQLMode.CREATE,null,false,1024,storedKey);
}
----------------------------------
And when I tried to check by iOSsimulator,the error is occurred and can't launch simulator.
The error message is here.
----------------------------------
Undefined symbols for architecture i386:
"__ZN14PlatformCamera20get_permissionStatusEP10CorePlayer", referenced from:
__ZN10coreplayer6Camera20PermissionStatusImplEv in libRuntimeInterpreter.x86-simulator-air.a(CameraProfile.o)
ld: symbol(s) not found for architecture i386
----------------------------------
I use flashCC2014,xCode version is 7.2.My app don't use camera.
What can I do to test it?
Copy link to clipboard
Copied
When I tried newest AnimateCC,the iOS simulator is right.
But the app is not installed to any device(iphone6s etc),iphone5 is right.So I cannot check.
I think nobody know about this,so I will release update and check users review.
Copy link to clipboard
Copied
It seems to be right on iOS by review.
Thank you for your advice.