iOS TestFlight not working: CanGoBack(); CanGoForward(); GetCookie
Nobody has claimed this yet.
- Dominant language
- Objective-C++
- Stars
- 2.7k
- Forks
- 734
- Avg merge
- 11h 39m
- Merged PRs (30d)
- 1
Description
This functions works well on Android but with I have iOS problems.
I am using Unity 2019.4.9f1 on Mac.
Bugs on TestFlight and Simulators builds:
! CangoBack is always true;
! CangoForward is always true;
! GetCookie return "";
JavaScript injection dont use cb ( may be call error ) ;
I am using web pages.
webViewObject = (new GameObject("WebViewObject")).AddComponent<WebViewObject>();
webViewObject.Init(enableWKWebView: true,
cb: (msg) => { url = msg; },
ld: (msg) => { webViewObject.EvaluateJS(@"Unity.call(window.location.href)"); }
);
webViewObject.SetMargins(0, (int) (Screen.height / 1920f * 120), 0, 0);
webViewObject.SetVisibility(true);
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported behavior in Unity 2019.4.9f1 on macOS using WebViewObject.Init with enableWKWebView: true, including CanGoBack, CanGoForward, GetCookie, and JavaScript injection. Done means the iOS TestFlight and simulator builds provide the expected navigation, cookie, and callback behavior described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, ios, unity
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100