GoCarrot / teak-ios

Teak SDK for iOS
Apache License 2.0
3 stars 1 forks source link

Investigate [UIScreen mainScreen] failure #47

Open AlexSc opened 3 years ago

AlexSc commented 3 years ago

On iOS 15 we observed that calling [UIScreen mainScreen] as part of setting up device configuration resulted in the Unity test app hanging while attempting to access the main bundle. Additionally we have evidence that the thread which called [UIScreen mainScreen] was terminated before the completion of the call.

We should determine

  1. What happens to the thread that calls [UIScreen mainScreen]? (this could be done by setting a breakpoint immediately prior to the call, and stepping through)
  2. Does this always happen, or only when integrated in a Unity project? ('this' meaning [UIScreen mainScreen] somehow explodes)
  3. Can we create a smaller reproduction case?