Code

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

682 comments found.

Hello, I have the app on app store and its viewing my webapp.

I have the one signal integrated and the URL extends to show push ID on launch. I then have the web app store the string as a cookie.

When i test this with custom string on pc it works fine. However on the IOS device it doesn’t find the cookie. i am using $_Cookie to echo the value but doesn’t work. Isset says the cookie isn’t set.

do you know why this would work fine on browser but not on app. I am thinking perhaps through testing hat webview gold has stored multiple cookie with same name which is causing an error?

not sure how to delete all cookies in the webview gold cache

Hello, magicry1! Thanks so much for your comment! If your WebView URL is https://www.example.org, WebViewGold will call https://www.example.org?onesignal_push_id=XYZ instead. Only your FIRST URL request will get that GET variable, so save it in a session or in a cookie to access it on your linked pages. Your app built with WebViewGold will save all cookies (including login and session cookies) until they expire (this is defined by your server/your site)! 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 Wordpress default session timeout value: https://wordpress.org/plugins/configure-login-timeout/ Make sure that you have you deactivated the deletecache option (iOS) or the CLEAR_CACHE_ON_STARTUP option (Android). If you want to reset the cookie database, link to reset:// (more information in the documentation in the “Reset App Link” section. Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

I’m using wordpress site with news paper theme in it, will it get approved by apple store??? I have content originally written by me it is on yoga based content and I want to add a paid subscription inside the app, without login the user cannot access the content.

Hello, HarshalDewangan! Thanks a lot for your comment and your interest in WebViewGold! We can not speak in the name of the Apple Review Team, but App Store approval highly depends on the content you provide in your app, as WebViewGold does not give content by itself. Please make sure to submit an app using a website/web app that behaves like a mobile app (for example, by using responsive design and removing social media widgets). Make sure that the content does not contradict the legal requirements of the Apple Developer Program. Use different link colors than standard HTML colors for better user experience. And please feel free to send all the details to support@onlineappcreator.com – we are 100% here to help you! If Apple rejects your app, we can offer you a full refund of the WebViewGold license (by claiming within 14 days after purchase). In your case, it will be important that you create a demo account for the Apple Review Team, which can be entered during app submission. Any questions left? Feel free to ask! We would love to have you on-board in the WebViewGold community! Cheers, and have a fantastic day! :)

Good news: The latest update includes an In-App Subscription API as well (besides existing In-App Purchase API). Questions? Feel free to ask! :)

3alouch

3alouch Purchased

Hello How can i add splash with next button viewing just in first time?

Hello, 3alouch! Thanks so much for your comment! There is no “First Launch Screen” exception integrated into the code right now. Please use the “First Run Dialog” (e.g., saying “Thank you for downloading this app!”) or use the cookie functionality to detect the first run in your web app itself. Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

Thanks for your reply! :) WebViewGold is a 100% fullscreen wrapper for the content of web apps. Please consider adding a welcome screen to your web app itself.

soturl

soturl Purchased

Hi,

Even after splash its showing loading sign for long time. my site usually take some more time than normal.

in this case, i dont want to show loading sign until fully loaded. its really irritating. even if i disable loading sign its showing some blank screen. both are useless. i’m using version 6.6

also i cant to enable splash until the site. this is also not useful to me. if i disable the loading sign it should be open the site even that half of loaded. thats what i need.

Thanks.

Hello, soturl! Thanks so much for your comment! Does this problem still occur on v6.7? If so, 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. Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

nd42

nd42 Purchased

Hi, are the problems with the transparent status bar ln some devices solved on the new version?

Hello, nd42! Thanks so much for your comment! We changed a lot of stuff in our shiny and brand-new update, if you experience difficulties with the status bar, write us an email. Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

jsrlife

jsrlife Purchased

Hi after setting up my app. I have a few questions; 1. how can i setup or add a progress bar on the top like the ones in native browsers? That is better than the spinner because it shows loading progress status. 2. Also how can i setup cache in xcode to increase my app load time 3. is it possible to change the color of the loading spinner sign?

Hello, jsrlife! Thanks so much for your comment! 1. Right now, only the native spinning indicator is supported. Consider adding a preloader top-loading to your web app itself: https://medium.muz.li/top-30-most-captivating-preloaders-for-your-website-95ed1beff99d 2. Set deletecache (in WebViewController.swift) to false. 3. Yes: https://www.youtube.com/watch?v=c_5dYF3Y2i8 :) Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

So far so good, I’m really enjoying creating my web app.

Here are 2 feature requests :

1. Updating the app to a newest version seems to be really hard. Is there a method to do it without restarting it from scratch ?

2. While app custom url scheme is nice, I would really prefer my app to support Universal Links (for exemple to use when sending a confirmation link by email)

Thanks for the great work !

Hello, victor! Thanks so much for your comment and your kind feedback! 1. You are right here. As WebViewGold is an app template and not a software, it’s a bit tricky to upgrade. We recommend only to upgrade if you need one of the new features provided in a new version and to skip updates not required for your app (changelog for iOS: https://www.webviewgold.com/changelog/iOS/). The easiest option to upgrade WebViewGold on iOS is to replace the upper configuration part of WebViewController.swift and AppDelegate.swift files with the old ones. While replacing, make sure that there are some new variables maybe that has to be filled out/configured. 2. We are looking into this! Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

Dear Developer,

We identified one or more issues with a recent delivery for your app, “One two TLC” 6.8 (1.3). Your delivery was successful, but you may wish to correct the following issues in your next delivery:

ITMS-90078: Missing Push Notification Entitlement – Your app appears to register with the Apple Push Notification service, but the app signature’s entitlements do not include the “aps-environment” entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the “aps-environment” entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor’s Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.

ITMS-90809: Deprecated API Usage – Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.

After you’ve corrected the issues, you can upload a new binary to App Store Connect.

Best regards,

The App Store Team

please share solution

Hello, ketakikadu22! Thanks so much for your comment! If you do not use push notifications, you can just proceed with the app submission (the app submission was still successful). Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

Bodhiz

Bodhiz Purchased

Hi,

Webviewgold looks promising, thanks ! That is said I’m experiencing a weird behavior. I’m using OneSignal push notification (with deep linking option as explained in the documentation), and it’s working great, the notification is sent correctly on device and when I click on it, it’s opening the app at the right place. But if I keep browsing on my app all the links are opening in Safari. I don’t experiment that behavior when I’m opening the app in a classic way from the app icon, the links are correctly opening in-app as expected. Any idea what’s happening here ?

Hello, Bodhiz! Thanks so much for your comment! Did you notice the difference between the default OneSignal URL value (don’t use that) and a custom field? If you want to use OneSignal URL Deeplinking (opens a specific URL when clicking on your notification), please add the desired URL with a custom field called url: https://www.webviewgold.com/docs/iOS/assets/img/onesignal_deeplinking.pngThe way how URLs in deeplinking are treated depends on the URL Handling settings of WebViewGold. Still need help? In this case, please mail your 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. Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

Bodhiz

Bodhiz Purchased

thanks for the quick feedback. Yep it’s what I did for the deep linking. And it works. My push notification is opening on the page I want. But the issue happens if I keep browsing on the app, internal links are opening in Safari :(

We will reply as soon as possible, thanks! :)

Dear, I have followed documentation carefully and setup all but my app got rejected by apple

Hello, nomi_leo! Thanks so much for your comment! Sorry to hear that. But the good news is that you bought WebViewGold, which includes an Apple App Store approval guarantee. App Store approval highly depends on the content you provide in your app, as WebViewGold does not provide content by itself. Please make sure to submit an app using a website/web app that behaves like a mobile app (for example, by using responsive design and removing social media widgets). Make sure that the content does not contradict the legal requirements of the Apple Developer Program. Use different link colors than standard HTML colors for better user experience. Please use Apple Resolution Center to explain the app feature in general (like “Our app enables our existing users to login in/use our products on their handheld device/....). If Apple still rejects your app, we can offer you a full refund of the WebViewGold license (by claiming within 14 days after purchase). Please use Apple Resolution Center to explain the app feature in general (like “Our app enables our existing users to login in/use our products on their handheld device/....). If they still reject the app, ask us for a refund of the WebViewGold license. Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

Hi,

Is there a way to retrieve in JavaScript a permanent unique identifier (UUID) of the device? (same question on Android version as we are using both)

That would be very usefull for apps who are associating long-lasting variables to a user without having to ask him to register or something.

Thanks a lot,

Arthur from Arkanite

Hello, Arkanite! Thanks so much for your comment! Nice feature idea, I will add it to the “To Do” list for our developer team! Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

Hello, outstanding solution for PWA applications. While still developing the app, I found a inconsistency: the fontawesome is not displayed in the app, althought it’s ok in browser: BROWSER: https://pasteboard.co/IUxMBT1F.jpg SMARTPHONE: https://pasteboard.co/IUxN3lg.png I really appreciate this solution, affordable and yet complete for a quick app for small clients. Thanks, Julian.

Hello, swimitup! Thanks so much for your comment! Please make sure to embed Font Awesome via https:// instead of http:// – that will fix it :) Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

3alouch

3alouch Purchased

how can i view intertitial by time

Hello, 3alouch! Thanks so much for your comment! This is not possible right now, interstitial ads will be displayed based on X website clicks. Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

Hello, the in-app purchase is causing some error, I do not need that (Expected expression after operator) in code line 688 (webviewController.swift) How do I fix that?

I think I know why it is not working, the footer bar on my website is not working iphone 8 or older because the browser has a default footer bar, on the app the browser footer bar disappear, and the one for my website replace it as it is on full screen. So I just need to know how to have the bar over it, or bring it up.

Happy to hear this! :)

It has been a headache.

I submitted a ticket to your support team [TICKET:003631] but got a response, “Thank you for your message. We will reply within the next 72 hours.”

Do I really have to wait 3 days to get support for a quick question or is that just an automated response?

Hello, thebenfrank! Thanks so much for your comment! Don’t worry, we reply within 24 hours in most cases. Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

Thank you but It’s been 24 hours since I submitted my ticket [TICKET:003631] and still haven’t received a reply from your team to my ticket. May you please have someone look at my ticket and respond.

Thanks for your reply, thebenfrank. Please check your inbox, [TICKET:003631] was answered on 22/02/2020 :) Cheers!

does you app support shopify websites and full checkout

Hello, mohammadkalim! Thanks a lot for your comment and your interest in WebViewGold! Yes :) Any questions left? Feel free to ask! We would love to have you on-board in the WebViewGold community! Cheers, and have a fantastic day! :)

How can I get facebook login to stay in the native window? My site allow user to login with their facebook account. With this app it open a new window and stays there, it does not go back to the app window. It work very well in the mobile web browser but not in your code app.

Weird. Please request a refund then :)

You are very welcome :)

noetico

noetico Purchased

Please I just purchased this and opened in xcode, trying to build and there’s an error: framework not found Pods_OneSignalNotificationServiceExtension

What do I do? newbie to xcode

noetico

noetico Purchased

Please also, how do I solve this… Thank you Showing Recent Issues No profiles for ‘com.webviewgold.webviewFirebaseID’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘com.webviewgold.webviewFirebaseID’.

Hello, noetico! Thanks so much for your comment! Please make sure to open WebViewGold.xcworkspace (instead of WebViewGold.xcodeproj). Please make sure to use the latest Xcode public version from the Mac App Store and no newer beta software. Please re-download the project from CodeCanyon and make sure to keep the folder hierarchy downloaded by CodeCanyon and do not rename/move folders, so the main source code folder should keep the “WebViewGold_iOS_vX.X“ folder name. Click “Product” -> “Clean Build Folder” in the Xcode menu bar before running the app. While renaming your app, it’s essential to follow the steps in the “Rename package name/build & publish your app” section of the documentation (video: https://www.youtube.com/watch?v=qZd98DEm9yI; add the same prefix to the OneSignalNotificationServiceExtension). If the “No such module ‘OneSignal” still persists, take a look on this bug fix video: https://www.youtube.com/watch?v=oHkSUAT9ufw This “OneSignal not found“ error mostly happens when renaming or moving (sub)folders. Can you re-download the zip from CodeCanyon, extract and use immediately? Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

timo75

timo75 Purchased

hi , Does the app have the ability to swipe down to refresh ?

timo75

timo75 Purchased

also how can i change the colour on the launch screen to a custom shade ?

Hello, timo75! Thanks so much for your comment! WebViewGold is a 100% fullscreen wrapper for the content of web apps. Please consider adding a pull to refresh script to your web app itself: https://www.boxfactura.com/pulltorefresh.js/ Modifying the background color of the launch screen is tricky, we will improve this within the next updates. Any questions left? Feel free to ask! Thanks for being a part of the WebViewGold community! Cheers, and have a fantastic day! :)

gato06

gato06 Purchased

Hello, I received this mail of the apple

Dear Developer,

We identified one or more issues with a recent delivery for your app, “Autos Altiro” 6.8 (1.0). Your delivery was successful, but you may wish to correct the following issues in your next delivery:

ITMS-90473: CFBundleShortVersionString Mismatch – The CFBundleShortVersionString value ‘1.0’ of extension ‘AutosAltiro.app/PlugIns/OneSignalNotificationServiceExtension.appex’ does not match the CFBundleShortVersionString value ‘6.8’ of its containing iOS application ‘AutosAltiro.app’.

ITMS-90809: Deprecated API Usage – Apple will stop accepting submissions of apps that use UIWebView APIs starting from April 2020 . See https://developer.apple.com/documentation/uikit/uiwebview for more information.

After you’ve corrected the issues, you can upload a new binary to App Store Connect.

Best regards,

The App Store Team

Hello, gato06! Thanks a lot for your comment and your interest in WebViewGold! You can ignore this message of Apple; it will not hurt the App Store approval process. However, if you want to fix it, watch the video https://www.youtube.com/watch?v=qZd98DEm9yI – you can see that there are two sub-targets in the app (“WebViewGold” and “OneSignalNotificationServiceExtension”). Make sure to choose the same version number for both of them. Any questions left? Feel free to ask! We would love to have you on-board in the WebViewGold community! Cheers, and have a fantastic day! :)

by
by
by
by
by
by