AppWarp not connecting on ios9 - Unity 4.6.9f1

+1 vote

Hello,

I am having issues with connecting to AppWarp from  iOS9 device.
It works fine on older iOS versions (iOS 8), but on iOS9 I get error (eventObj.getResult() returns 5) - onConnectDone.

I am using unity 4.6.9f1, 64-bit build.

I hope we get this resolved as soon as possible,

Peter

 

asked Oct 23, 2015 in AppWarp by peter.zlodej91 (15 points)

1 Answer

0 votes
Hello Peter,

Can you please share the complete console log which you get from Xcode console?

It will help to debug the problem.

Thanks.
answered Oct 23, 2015 by rajeev.etc (1,660 points)
Hello,

I would just like to let you know that  when I run your official Unity AppWarp example on iOS8 it connects fine,  but on iOS9 id does not connect. (same behaviour as with my game).

This is xcode log from appwarp example build:

2015-10-23 13:47:00.612 ProductName[2016:395762] -> registered mono modules 0xcb5940

-> applicationDidFinishLaunching()

-> applicationDidBecomeActive()

Requesting Resolution: 480x852

Renderer: PowerVR SGX 543

Vendor:   Imagination Technologies

Version:  OpenGL ES 2.0 IMGSGX543-124.1

GL_OES_depth_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_draw_instanced GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sRGB GL_EXT_texture_filter_anisotropic GL_EXT_texture_rg GL_EXT_texture_storage GL_APPLE_clip_distance GL_APPLE_color_buffer_packed_float GL_APPLE_copy_texture_levels GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_APPLE_texture_packed_float GL_IMG_read_format GL_IMG_texture_comp

ression_pvrtc

Creating OpenGLES2.0 graphics device

Initialize engine version: 4.6.9f1 (44099fd26189)

WARNING: Shader Unsupported: 'Hidden/TerrainEngine/Details/BillboardWavingDoublePass' - Pass '' shader state not supported

2015-10-23 13:47:08.675 ProductName[2016:396001] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.


I only get the last warning from the log on iOS9 device, so I assume that is where the problem is.

Peter
Hello,
I tried to solve the problem as suggested on:
http://stackoverflow.com/questions/31254725/transport-security-has-blocked-a-cleartext-http

so I inserted:
<key>NSAppTransportSecurity</key>
<dict>
  <!--Include to allow all connections (DANGER)-->
  <key>NSAllowsArbitraryLoads</key>
      <true/>
</dict>

into info.plist file in xcode. Now appwarp connects to server on iOS 9. But this solution is not safe.

We had similar problem with FB plugin, and this was their solution:
https://developers.facebook.com/docs/ios/ios9#whitelist

Can you please provide safe solution to this appwarp iOS 9 problem? Thank you!

Peter
I have updated the AppWarpUnity SDK(https://github.com/shephertz/AppWarpUnity/tree/master) with a fix for App Transport Security issue on iOS9.
Please download AppWarpUnity version1.10.1 from the above link and give it a try.

Let me know if the problem continues.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...