gree / gree/unity-webview

Unity.call function does not survive on iOS and OS X, multiple page load it doesn't get message of unity.call

Open
#390 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C++
Stars
2.7k
Forks
734
Avg merge
11h 39m
Merged PRs (30d)
1

Description

Hi,

I have used this code and works perfect in android.
With unity i have developed a app where user can add login details in web-view and then redirected to success page where i have added unity.call in web-page code.
As mentioned earlier it works fine in android but in iOS i am not receiving message from Unity.call.

Here is my iOS device information:
My Device Information:
Device: iPhone11,2
iOS Version: 12.1.2
Language: en-US (English (United States))
Carrier: Verizon
Timezone: EST
Architecture: N/A
Connection Status: WiFi
Paired Apple Watch: N/A

And my unity version is 5.6.1f1.

Any suggestion for the issue?

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Unity.call message flow on iOS and OS X, comparing the working Android behavior with the multiple-page-load scenario described. Trace the platform bridge entry point for Unity.call and verify that the message arrives after the redirect; done means the message is consistently received on both affected platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, macos, unity
Domain
desktop-dev, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.