Code

Discussion on WebViewGold for iOS – WebView URL/HTML to iOS app + Push, URL Handling, APIs & much more!

Discussion on WebViewGold for iOS – WebView URL/HTML to iOS app + Push, URL Handling, APIs & much more!

4.61 (120 ratings) 4.61 stars
Cart 2,422 sales
Recently Updated Envato Checkmark

853 comments found.

hello, apple is annoying me with the use of the camera. Could you tell me how to remove the feature? thank you

Hello, genonioff! Thanks so much for your comment! You can change/remove the text in the Info.plist file :) Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Best wishes, and have a fantastic day! :)

Hello, I am only looking to remove the feature, because they told me why you are using this feature, they refuse the post because of this feature

Thanks for your reply! It’s not possible to remove that as this is a native API from Apple. Best regards & enjoy your day! :)

deody Purchased

Hi, can we make slide animation when click menu like native app? Right now it using spin animation. Thanks

Hello, deody! Thanks so much for your comment! Please set the useloadingsign variable (Config.swift) to false. Afterward, you can add any kind of preloader/page transition script to your web app itself, e.g., using one of these approaches: a) https://www.cssscript.com/9-css-only-loaders/ b) https://speckyboy.com/page-transition-effects/ c) https://barba.js.org d) https://freefrontend.com/css-page-transitions/ e) https://css-tricks.com/add-page-transitions-css-smoothstate-js/ :) Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Best wishes, and have a fantastic day! :)

deody Purchased

wow how cool your support

Hello, deody! Thanks so much for your comment and this lovely feedback. Please do not forget to rate WebViewGold on CodeCanyon. It only takes a few seconds. Just navigate to the Downloads section of CodeCanyon: https://www.webviewgold.com/docs/android/assets/img/screen5.png We would be delighted. Thanks for being a part of the WebViewGold community! Best wishes, and have a fantastic day! :)

Hello, am I the only one that has trouble with session cookies? Seems there is no way to keep my users logged in (I’ve a reactjs web app but I tried also with other php website). The configuration about clearing cache is false in my config.

Thank you

Hello, b-play2018! Thanks so much for your comment! Indeed, your app built with WebViewGold should save all cookies (including login and session cookies) until they expire (your server/your site defines this)! Often cookie lifetime was set to “Until browser session ends” by accident. :) If you use WordPress, you can try installing this plugin that allows you to change the WordPress default session timeout value: https://wordpress.org/plugins/configure-login-timeout/

One suggestion for cookie lifetime debugging: Please install Google Chrome on your computer (or delete the cookies + cache if you already use this browser), install the https://tinyurl.com/cookiedebugging plugin, and log in to your website. You can then see the cookie lifetime that your server or web code specifies in the plugin view. Often no expiration date is given, but then the cookie is not valid forever, but only as long as the browser session is running: For Chrome or desktop browsers, this can be very long; for apps, it is the restart. The solution is then to add to your cookie that it should have a specific lifetime. Alternatively, you can use http://www.cookiecentral.com/code/eg1.htm as the mobile WebView URL to test whether this page can save cookies.

One more idea: Check if adding a slash („/„) to the full WebView URL (webviewurl variable) makes a difference.

Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Best wishes, and have a fantastic day! :)

Hi, where exactly to change the color of the pink circle which briefly appears during the launch? thanks

Hello, BigPopeye! Thanks so much for your comment! Please edit the loadingSigncolor variable in Config.swift :) Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Best wishes, and have a fantastic day! :)

As suggested by you as I am not using any tracking, I have set false for firebase also, I removed the NSUserTrackingUsageDescription from Info.plist. However after that the app is crashing and has been rejected 3 times

Termination Reason: TCC, This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSUserTrackingUsageDescription key with a string value explaining to the user how the app uses this data.

If I reinstate it from Info.plist, than Apple review people asks that what is the tracking used for, I dont have any answer as I am not using it. I am in stuck and my app is getting rejected again and again.

What needs to be done now, please help on this issue

Thanks

If I reinstate it from Info.plist, than Apple review people asks that what is the tracking used for? I don’t have any answer as I am not using it. I am in stuck and my app is getting rejected again and again.

I am waiting for the Zoom Call

Thanks for your reply! It was a pleasure to solve this problem with you during the Zoom call. Best regards & enjoy your day! :)

Hello, I download the last version but when I try to build with Xcode 11, I’ve got an error : No such module ‘AppTrackingTransparency

Hello, pgreg200200! Thanks so much for your comment! Please use Xcode 12.5 :) Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Best wishes, and have a fantastic day! :)

Hi, it is possible to hide some content only for Ios webview? (about politic of Apple, with logos app if android, or social login). i tryed with modify CSS on my website, but not works for Ios webview. thanks

Thanks for your reply, BigPopeye! Please replace all ” quotation marks with ’ quotation marks first. Best regards & enjoy your day! :)

BigPopeye Purchased

thanks, i will try. but how will he figure out which .css file I am referring to? it’s a pity that there is not documentation about that, because it’s a very interesting feature

Thanks for your reply! There is just one CSS string/file for that and it will affect all (!) CSS files involved.

iOS: Insert the custom CSS in the cssString variable in the Config.swift file.

Android: Insert the custom CSS in the file custom.css and save the changes.

Best regards & enjoy your day! :)

I just noticed that i buy the iOS version and not MacOs version. how to proceed?

Hello, csanjee! Thanks a lot for your comment. No worries. We approved your refund for the iOS version, so please feel free to buy the macOS version :) Best wishes, and have a fantastic day! :)

HTCoding Purchased

I am getting the #0 0×000000010fbb4804 in purchasecode.unsafeMutableAddressor, after new update?

Hello, HTCoding! Thanks so much for your comment! Do you use Xcode 12.5? Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Best wishes, and have a fantastic day! :)

HTCoding Purchased

I am using Xcode Version 12.5 (12E262)

Thanks so much for your reply. Please mail a screenshot and the app source code to codecanyon-comments@onlineappcreator.com – our IT support team is highly dedicated to helping you. The app source code will be too big to be an attachment, so please use a hosting provider like Dropbox and include a shared link in your mail. Moreover, please mention your CodeCanyon/Envato username so that we can relate to this comment here. Thanks for being a part of the WebViewGold community! Best wishes, and have a fantastic day! :)

kodjoe

kodjoe Purchased

if I choose to Use Local Push Notification JavaScript API and add this part of code from your doc directly in my <head> <script> var seconds = 120; //seconds from now on var message = “It is Happy Hour now! Check it out!”; //the message var button = “Open App”; //the text of the button window.location.href = “sendlocalpushmsg://push.send?s=”+ seconds ”=msg!” message “&!#” button +””; </script></head>

It works fine with my app, but I can’t access to my website then, I have a Safari error who say: “Safari cannot open “sendlocalpushmsg: //push.send? S = 120 = msg! It% 20is% 20Happy% 20Hour% 20now!% 20Check% 20it% 20out! &! # Open% 20App” because macOS does not recognize Internet addresses beginning with “sendlocalpushmsg:”.”

so how can I use javascript for push notification and not break the access to my website simply ? thank you

Hello, kodjoe! Thanks so much for your comment! Please deliver this push code only to users of your app. You can either use the Custom User-Agent feature to add this specific JavaScript push content to your site while accessing through your WebViewGold-based app. Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Best wishes, and have a fantastic day! :)

kodjoe

kodjoe Purchased

Hi I know that this push code is delivered only to users of my app, but when I add this part of code in my <head> simply by copying your code, I can’t access to my website normally after that.

I totally understand your idea, when you say: “User-Agent feature to add this specific JavaScript push content to your site while accessing through your WebViewGold-based app”

Can you please help me here with this, how can I do that ?

Thanks for your reply. Yes, it has to be added to the part. In concrete details, I would suggest using the „Custom UserAgent“ feature of WebViewGold like this: Just rename it like „MyMobileAppClient“ and detect the custom User-Agent via PHP on your server to deliver that extra code in terms of push: https://stackoverflow.com/questions/6127494/check-string-and-user-agent :) Enjoy your day & your app!

This comment is currently being reviewed.

I want to add an alert while user want to close/exist the app like: “Do you really want to exit application?”.

how I can do this?

Hello, tryshameem! Thanks so much for your comment! On iOS, this is not possible as Apple does not allow that. Apps will always close or minimize while using the home button or the swipe-up gesture on devices without the home button. Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Best wishes, and have a fantastic day! :)

Presales query:

Hi interested in buying. We are running Angular. Will this work along with Your ISO notifications? Looking forward. Thanks

by
by
by
by
by
by