callfromjs issue on ios and also question debugging log on ios platform
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 am developing mobile app which integrate gree/webview. when I develop android platform web view work perfect and callfromJS can work. However, when I migrate project to ios unity process cannot receive following callfromjs event.
page url:
https://www.womo.com.tw/?unity_logout=1
javascript like this...
` const urlParams = new URLSearchParams(window.location.search);
if (urlParams.has('unity_logout')) {
unityLogout();
}
function unityLogout() {
var message = {
action: "log_out",
timestamp: new Date().toISOString()
};
var jsonString = JSON.stringify(message);
window.Unity.call(jsonString);
}`
I also try to use Safari and open web inspector to check about javascript log, but I cannot find webview app in develop tab. can you guide me how to check this?
Any information will be appreciated.
Andy
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 iOS behavior with the supplied URL and the JavaScript Unity.call snippet, then investigate how the webview is exposed to Safari Web Inspector. The report names no source files or tests; done would mean identifying the iOS event or inspection failure and documenting a verified debugging path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript, 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