Discussion on SuperView - WebView App for iOS with Push Notification, AdMob, In-app Purchase

160 comments found.

How rename project ? i change Bundle ID in Xcode and Display Name but all process give an error . you can say me how i rename? thx

That is all you need to do, repeat the process and you will succeed. Best

Hi, is there any new news for javascript bridges for iOS. When will you do that? Or can you help me for to get firebase id like Android? Thanks.

Hi, currently no. I don’t have time to work on this now. Here is how to get token from firebase:

https://firebase.google.com/docs/cloud-messaging/ios/client#retrieve-the-current-registration-token

Best

Hello, I registered my app on firebase website and added the firebase file on my project and tried to send a notification and nothing happened, analitcs working but notification is not? Can you fix it. By the way onesignal works good but i need firebase notification.

Hi, I just tested firebase notifications and it is working fine, maybe you didn’t setup something properly. I also fixed few things just in case so I will send a new version on Envato. Best regards

hi there, Although I replace your splashscreen with my own your splashscreen still loads when the app is started. How can I remove your start screen please?

thanks

Hi, you just have to delete the app and install again, the old splash is cached on the device. Best

Hi, I purchased your app and need your help. I’m using your app with webview to my website. What I want to do is when a user press links inside my website for exmaple : http://mytestsite.com/ or http://mytestsite.com/category/new/ it will open it inside the app webview, but when the user press on external link for example link to : http://cnn.com it will open in safari. in some other iOS app I have I used this code, that work’s great and open all links in safari except my website url: http://mytestsite.com

    /* External links */

    func webView(_ webView: UIWebView, shouldStartLoadWith request: URLRequest, navigationType: UIWebViewNavigationType) -> Bool {
        if navigationType == UIWebViewNavigationType.linkClicked {

            if (request.url?.host! == "mytestsite.com") {
                return true
            } else {
                UIApplication.shared.openURL(request.url!)
                return false
            }
        }
        return true
    }

can you please give me code that will work with your app and tell me where should I place this code inside the app. Thank you.

Hi, there is a method

webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void)

in ViewController.swift file where domain in parsed, you can add your own logic.

Best regards

If the project show cannot load underlying module for ’’SwiftyUserDefaults’’, How should I do?

Hi. Make sure you opened the white SuperView.xcworkspace icon as shown in the quick guide video, not SuperView.xcodeproj icon. Best

Hello, Your app is working great. But I have a few questions: if you could please answer.

1) How do you update the Admob SDK ? (in the simulator i see it writes i should update to newer SDK version).

2) Does the the Firebase notifications also include Firebase Analytics? how to setup your app to also include Firebase Analytics?

3) If i’m using the app with the Index.html file option will Apple approve my app in the App store? if I put allot of content in HTML files and also link to my website inside the index.html that will open my website in webview?

4) I want to open Safari from your app when you press some url on the webview. IS that possible? For example: the The app load the Index.html file and the user press a link to my website inside the index.html and the app opens it in webview and inside my website external links to http://cnn.com and http://google.com will open in safari?

Thank you,

Hi,

sorry for late reply

1. You can update the app using cocoapods, you need to install CocoaPods on your Mac and run “pod update” in project directory https://www.youtube.com/results?q=cocoapods

2. Yes, Firebase Analytics is working

3. Yes, apple will approve your app if you put your site in www folder.

4. You can add logic for this in method webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void)

there is a switch where you can add your own case

Best regards

Hi

is app working for opencart store website ?

Hi,

Yes it is working.

Best

koromojo

koromojo Purchased

How would I redirect when hostAddress (or url) detect specific url ?

Hi, there is a big method “webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void)” in “ViewController.swift” file. You will find this example:

if hostAddress  "itunes.apple.com" {
    if UIApplication.shared.canOpenURL(navigationAction.request.url!) {
        UIApplication.shared.openURL(navigationAction.request.url!)
        decisionHandler(.cancel)
        return
    }
}

Just add one more host address so it will look like this:

if hostAddress  "itunes.apple.com" || hostAddress == "domain.com" {
    if UIApplication.shared.canOpenURL(navigationAction.request.url!) {
        UIApplication.shared.openURL(navigationAction.request.url!)
        decisionHandler(.cancel)
        return
    }
}

Best regards

akaber

akaber Purchased

hello

how can i make this small it’s a big space on status bar http://imgur.com/a/PdXZq

Hi, that is something on your website. Best

akaber

akaber Purchased

No its not from my website check this please http://imgur.com/a/r7r0k

My app is not coming like this, you added navigation controller in storyboard. Delete navigation controller and it will work fine.

femapps

femapps Purchased

Is possible to implement more in-app purchase directly in my html?

Hi,

It is possible but it is not that easy to implement and it is not created in my app and I don’t plan to implement something like this in future versions.

Best

kreodata

kreodata Purchased

Hi there,

First of all – Great work. Will rate this 5/5.

I just need some help on the zoom on the app. When the app is first loaded it is zoomed in and when double tapping or zooming out the app is displayed correctly.

Is there any way of changing this so that it:

a. loads at a default width/scales to fit? b. zooms out automatically when webview is loaded?

Alternatively, if you could provide assistance if this will require customization?

Thank you

If you can run the app with that method that I sent you, than the method is working. To fix the zoom you need to change that red javascript code, you will need to google for that solution. There is one more thing, you can put javascript code on your website to fix that problem, you don’t need code from above then. I can’t help you with javascript code. Best

kreodata

kreodata Purchased

Thanks, where can I email/skype you at?

Sorry, I meant to say, I can’t help you with javascript code. I am an iOS developer.

ShanJun

ShanJun Purchased

Hello, how to close [OneSignal]

Hi, what do you mean “close”? You just have remove OneSignal key from the plist file and OneSignal is not going to work.

Best

ShanJun

ShanJun Purchased

How to remove OneSignal?

Hi, for totally removing onesignal from the app you need to remove the “pod ‘OneSignal’” line from the Podfile and then run “pod install” using cocoapods, for more informations of how cocoapods is working, https://www.youtube.com/results?q=cocoapods

kreodata

kreodata Purchased

Hi there, When clicking on upload on the webview the camera option does not work and the app closes. The gallery chooser works fine? Can you advise?

Hi, there is a bug, to solve this find “Info.plist” file in the project and add this two lines:

<key>NSCameraUsageDescription</key>
<string>App would like to use camera</string>

Best regards

Hello I have a little doubt, Can I remove this tab (menu) that comes in the app?

Because as it comes to a webview I would just like to have my website on screen and nothing else.

Another doubt, Can you recommend someone that you can configure? Because in the app android version I performed all the procedures, but I did not get anything, much less how to finalize or have the final app.

The tutorial shows something simple, but at the time of execution is not so easy. I’m not belittling your app, but it’s because I’m a layman of knowledge.

Hi, yes you can remove the toolbar using the plist config file, there is a video tutorial for this. I can ask my android developer to make the app for you but you will need to send an email first so I can forward it to him. brommko@yahoo.com

Best regards

Hello I sent the email, but until today I did not have a help.

Are you still willing to help me with this setup?

Hi, sure I will help you but you need to specify where is the problem and what is not working on the app. For toolbar, you just need to follow the video and set the toolbar property to NO in the plist config file. For submitting the app on store, you will need to watch and learn how to do that on youtube and google, that is something that is changing all the time and a lot of legal part is involved from your side.

If there is a bug on the app and if any of the functionalities listed on the description is not working please send me an email and I will get to it as soon as possible.

Best

Hello, I just download the app but when I desible zoom I got the Reachability error too. Any idea?

salihaksu

salihaksu Purchased

Yes I used exactly the same method, still same error. Any idea? I have working version on my mobile with zoom, when I try to change this particular code I’m getting error.

Hi, did you resolve this problem? You just need to press the red button and xcode will solve it for you. Best

i-Ry5

i-Ry5 Purchased

Problem with building the app: https://a.top4top.net/p_539bcep41.png
i-Ry5

i-Ry5 Purchased

Hello?

Hi,

You are using this app 6 months I think, you never didn’t manage to run it?

Make sure you opened the white SuperView.xcworkspace icon as shown in the quick guide video, not SuperView.xcodeproj icon.

Best

cr0bar

cr0bar Purchased

Hi, great app by the way! Is there any way I can feed the OneSignal device ID into the url being used for the Web View? I’d like the user to be able to configure the alerts they receive.

cr0bar

cr0bar Purchased

Nevermind, I’ve got it working!

Is there any way that i can put sime links or buttons like share app or rate app? On my site?

Hi, this is not implemented yet, I am working on it for next few releases. Best

i tried whatsapp herf link which is working in most browsers including safari. but not working in our superview. Is there any way to impliment this or any code to add, because it was urgent for me..Please

eg:

Share with whatsapp!

href=”whatsapp://send?text=This is the text that I wanna share.”

by
by
by
by
by
by