Forum Replies Created
-
AuthorPosts
-
PiotrKeymaster
Hey,
Good catch.
I think I’ve fixed it. I’ve sent .jar file on your email.
Could you replace it with a file from Plugins/Android directory and check if it’s working for you?If so, I will release a 1.7.2 patch.
PiotrKeymasterIt requires some special handling. I can ask OS to open another app from web browser, but what should happen if user doesn’t have Messenger installed?
So it goes like that
– If browser tries to open URL with fb-messenger:// scheme then
– if OS is able to open it by itself (meaning there’s FB messenger app) then let it open
– if OS isn’t able to open it by itself then… ?I am asking because by default Android crashes in that case so wondering what you would like to see here 🙂
- This reply was modified 6 years, 11 months ago by Piotr.
PiotrKeymasterHey Chris,
I don’t know – not even sure what does it mean exactly. 🙂
Does it mean sound isn’t played with main speaker?
How can I reproduce it? Is it happening on iPhone6 only?PiotrKeymasterHey,
It’s possible. Check readme file 🙂
PiotrKeymasterHey,
Thanks for posting question here.
I spent some time on it and I think I know what’s going on.
Your website requires location permissions which isn’t supported out of the box.I’ve managed to open your website with some changes to the source code.
You have to do two things:
– add this permission to your manifest file
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
If you do not know how to do it, it’s explained in readme file.– replace
InAppBrowser.jar
fromPlugins/Android
with a file I sent on your emailLet me know if that worked for you.
PiotrKeymasterHi,
Thanks for posting question here.Just to be sure – is it something which happens on Android only?
Did you check it on iOS?PiotrKeymasterHi,
Thanks for message.
There’s back button displayed by plugin itself but, by default, it’s closing the browser.
There’s also an option to display page full – screen and manually handle closing with custom buttons.Is it something you could implement in your HTML / JS code?
If not, do you think plugin should display both exit and back button?I would appreciate suggestions here.
PiotrKeymasterHey,
Thanks for posting question here.Communication between your Unity code and JS script is fully supported (in both directions).
So you can send message from JS script which will reach your C# classes and you might fire notification from there.PiotrKeymasterI will work on adding a feature to send audio buffer (as an byte array) while user is speaking so you can save it for later use.
PiotrKeymasterI don’t have Samsung S8 to check it out. What kind of error are you seeing?
PiotrKeymasterYou cannot re-ask for permission by OS design, although you might point user to device’s Settings where he can enable it after initial denial.
PiotrKeymasterHey Chris,
I’ve checked that file on my device and don’t see download button.
Frankly, I didn’t even know it’s possible to play video directly so I might say my plugin is mp4 player as well 🙂What I suggest is simply embed video file in your HTML5 player. Then you have full control on how it will be displayed.
PiotrKeymasterHi,
Yeah, this is common problem with WebViews and regular desktop browsers really (Chrome, huh).
I don’t know how to fix it, although I am not sure if it’s really memory leak here.
Keep in mind that this memory is used by JavaScript engine which might release its state long time after you app get closed. It’s not handled by Android’s GC or reference counting system on iOS.In addition, there are some methods to “clear” resources taken by WebView, and I am calling them once user closes browser but haven’t really noticed they actually do anything.
Sorry for not being super helpful, but this is simply ignored by Apple/Google engineers for years.
May 8, 2017 at 11:55 am in reply to: Can we use this for Desktop Application for both Windows and Mac #154PiotrKeymasterHi,
What do you mean by “this”?PiotrKeymasterHey Chris,
Thanks for posting question here.
Could you tell me how do you open that video?
Is it video player embedded in your website or is it absoulute URL pointing to movie file?I have to check it by myself so wondering if you could give me some example link.
Thanks
-
AuthorPosts