trigger.io android app launchimage prefs issue

时间秒杀一切 提交于 2019-12-24 02:18:15

问题


Just finished first version of my trigger.io app, and successfully tested it on both android and ios platforms. (trigger.io v1.4, forge tools v3.3.11)

I have a minor glitch, however, which is : I can't manage to change the android default trigger.io launch image.

I set the proper image path in App Config panel, for both ios and android, but only ios version actually shows my image during application startup. Android version shows the trigger.io branded one.

Is there any format, color depth, or any undocumented characteristic of the image file that need to be known?

Investigation on my side :

  • In my app directory/development/android/res/drawable, the splash.png file is trigger.io one. I don't know if i should expect to see my image file here.
  • In the build process, i have the 5 lines of ios launchimages :

    {'do': {'copy_files': {'from': '${modules["launchimage"]["iphone"]}',
                        'to': 'development/ios/*.app/Default~iphone.png'}},
    

    but none for android launchimage values set in App Config

  • src/config.json looks fine :

    "launchimage": {
        "android": "android.png", 
        "android-landscape": "android-landscape.png", 
        "ipad": "ipad.png", 
        "ipad-landscape": "ipad-landscape.png", 
        "ipad-landscape-retina": "ipad-landscape-retina.png", 
        "ipad-retina": "ipad-retina.png", 
        "iphone": "iphone.png", 
        "iphone-retina": "iphone-retina.png"
    }, 
    

Any idea ?

Thanks

Aurelien


回答1:


Thanks for reporting this issue - it was fixed in our v1.4.15 platform version: you'll pick that up automatically if you have v1.4 in your App Config.




回答2:


From the support email trail, it turned out the issue only occurs when specifying a landscape orientation with a launchimage. We have a ticket open in our backlog and will report back here when it is resolved.




回答3:


When I used a subfolder like img\loaderimage.png it didn't work. I moved the image to root and reconfigured the app then it worked.

Bug must be related with the \ sign or the builder is looking for the image in the root.



来源:https://stackoverflow.com/questions/12250762/trigger-io-android-app-launchimage-prefs-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!