Sencha Touch and Admob without url - sencha-touch

I have found some tutorials on the web on how to integrate admob with sencha. My problem is when you add a Site/App on admob, after selecting Smartphone Web for the ad type, one of the requirements is the Site URL. Now, the app I am creating is packed for android and ios but without a website counterpart.
How am I going to integrate admob to sencha without the needing to input the url of the app? Can I just make up any url, but will this deliver/detect the ads?
many thanks.

I'm pretty sure that you can just leave that box empty, its your Publisher ID that's used to deliver the ads.

Related

How should Google Analytics 4 be used with react native application?

We have a website, and a react-native based iOS and Android apps that present that website in a mobile app (with push notifications). If we have the website send the messages through a single G- measurement id, in GA dashboard it shows web as the platform 100% of the time. Is the best way to manage the platform value to create multiple streams? We have different apps for different audiences, so it would be hard to maintain that many new multiple streams for each app. Is there a way to populate Platform in a different way?
I see when we are in the app, the browser value is like Safari (in-app) or Android Webview. But that doesn't tell us app or if the website is in a social media app. I am thinking the best way to proceed is to make a custom dimension for knowing if the user is inside the app. Is that the best way forward for us?

React Native send email with link to web app or mobile app

I am trying to implement deep linking into this app. The app is a React Native Expo app, and is served on web, iOS and Android. There are a bunch of things we want to achieve with this i.e. link to specific things in the app such as certain messages etc. But currently my primary focus is just to navigate to general screens like 'Home', 'Messages', 'Login' etc.
I have been testing and so far, I can enter the URIs such as exp://host:port/--/login and they work as expected.
However, I know and understand that this will not work in a web browser on my laptop for example.
So my question is, how do I send an email to a user let's say after they have verified their account, prompting them to login, with a link that will for one, take them to the web app if they are on desktop, and two open the mobile app if they have it installed on their phone?
And just as an example, let's imagine my deep link URI is myapp://login
Thanks for any help.
EDIT
After looking around some more, I am deciding to consider the possibility of linking to the web app, and upon the web app loading, linking to the mobile app if they have it installed.
Given this, what is the best way to handle this?
You can follow one of the next approaches.
Validate the request origin and based on that generate the link for
an specific platform.
Generate as much links as platform are currently serving you app.
Like: Link to iOS, Link to Android and Link To web
You can design image buttons for each one to make it prettier

How to find out the deep linking path to all apps?

Linking.openURL(`whatsapp://send?phone=${phoneNumber}`)
Take one example, the above is the code to navigate user from our app directly to contact window on WhatsApp.
And now I'm wondering how to navigate user to my company page on facebook page?
Linking.canOpenURL('fb://profile/mycompanypage')
The above not working of course. And other than that, usually how do we know what is the url for us to navigate to the apps?
For example particular Youtube Channel or Vimeo Channel or Twitter profile?
For Facebook you can use these scheme
for Android fb://facewebmodal/f?href=${url} (url is the fb classical url you use in browser)
for IOS fb://page/PAGEID fb://profile/PAGEID you can find the PAGEID of your company page here https://findmyfbid.com/
The IOS solution is great when you don't have to generate the url on the fly which works for you i think. In a different case you'll have to use the FB SDK.
As for your other question: i generally go to the ressources website of the said app to find the right scheme for linking. But maybe there is a place where all those informations can be found ...
EDIT: IOS scheme was wrong

How to do FB feed share post without leaving my hybrid app?

I am making mobile app using Sencha touch which will be bundled as native app and installed on devices. In my app on certain pages I want to add "share" functionality which is supposed to post some data to user's feed. While testing on browser I can to do that by opening a window with FB sharing url like "https://m.facebook.com/dialog/feed" or "https://m.facebook.com/sharer.php" and passing all related params as explained in https://developers.facebook.com/docs/reference/dialogs/feed/
But when this app is bundled and I share with this, user is moved to browser and cannot return to app because redirect_uri cannot point to app which is why I wanted to open this dialog within my app, probably in an iFrame. This is also not possible because these dialogs are not allowed to be embedded in iframe by META tags and in order to surpass it I have to do user login which again is another dialog which I cannot open in my app's iFrame.
I also looked at sample sencha app http://blooming-day-7830.herokuapp.com/ but it also takes user to separate login page instead of opening in-app dialog.
So my questions is how does hybrid apps connect with FB without moving out user to browser?
if you decide to use PhoneGap you can try the following two options. You will have to check for the iOS version before you switch your Phonegap call to. . .
Option 1 : for iOS before 6.0
Phonegap has a pretty nifty ChildBrowser plugin that you can use to load the FB share page without leaving the app for iOS 5.0 and below.
Option 2 : for iOS 6.0+
Facebook Share functionality has now been added to iOS. So all you have to do, is call a custom plugin class that you create, and call the standard FB share code using a basic Phonegap plugin call. You won't leave the app, the ChildBrowser doesn't have to show up, instead, you'll get the stock iOS-FB share sheet that will show up, you can add pictures, text, and so on, and post to facebook.

PIN authentication on iOS app and then listing all ios apps

I want to list all my published iOS apps list on my main ios app .
My main iOS app will perform like this: First screen will ask to enter PIN (an authorization code, user will have this code from my other web url ) after validation, next screen will show all published app (published from my developer a/c) of iTunes store. apps will be a free type category, if user click on any specific app, the itunes app should be launch to download that app on device.
Could some one please suggest me , is there any violation of Apple's rule to show my apps in this way authentication to my customers? Will apple reject my app?
Although i was trying to understand a search API of iTunes
http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html
Thanks a lot,