Testing Campaign App on Facebook as ad - ios

I have to integrate the Campaign of my app. I read the tutorial here
My questions:
I don't want to place an actual order now; I want to test it first. Is there any kind of Sandbox for showing the ad?
How can I test that is it working correctly if I actually place an order for an ad?

the way it works is when you set up the add and before you pay for it you will be given a view of what the add looks like. you can then right click -> open in new tab to see how the link works to make sure it is working the way you want it to. then you can save it to activate it in the future.

Related

IOS10 Firebase Dynamic Link Show a Blank Page with Open Button. But Why?

blank image show if app not installed
I tried to implement firebase dynamic link. It works perfectly if app installed in device but it shows this page if app not installed.It happens every time i try to go to app store. Does anyone have any solution? Please Let me know.
Thanks
If you've created the link manually through firebase console. You can skip the app preview page by editing your link from the console.
-> Dynamic Links
-> Edit Link
-> under 'Campaign tracking, social tags and advanced options'
-> check 'Skip the app preview page'
This is intentional as a way to help you get around the fact that some apps prefer to show all web content inside of their own in-app WebView and make it difficult for JavaScript redirects (like what Firebase Dynamic Links typically does) to take you to the App Store.
That said, I know it's not always a great experience, so the team is looking into adding an option to make this interstitial page optional for your links.
EDIT: There's now a way to skip the interstitial if you'd like. Add the argument efr=1 to your link URL, and it will skip the page and attempt to redirect you directly to the appropriate location. If you're generating a link in the console, you can click the "Skip the app preview page" checkbox in the advanced options.
This is normal. If user clicks on the link it will lead to the correct download page on the app store.
Before iOS10, dynamic links were directly leading to the app store without this transition page. Changes in Safari security setup force them to add this page.

New app in FireBase

I have recently started to use FireBase to see how it works, as a possible replacement (at least in some cases) for Parse.com.
Here I have a few questions related to that.
1) I noticed from start that an app was automatically built for me. Am I allowed to change its name?
2) I now would like to create a second app. Is that possible or do I need to upgrade my account? Or how do I do? I can see no place in the dashboard for that purpose.
Thanks in advance for any useful indication.
To answer your questions:
You can change the name but not the url of you app. In your dashboard click on the cogwheel next to the name of your app, in the menu that pops up there is an option to change the name.
You can create a second app by simply filling in a name in the gray field on the left and click "CREATE NEW APP"

How to test Branch.io in simulator?

I'm scratching my head how I'm supposed to test my branch.io integration on simulator.
For link generation, I'm using the Javascript/web SDK instead of the iOS SDK. When you click a button to 'view content in app' on my landing page, it will generate the link and follow it.
All this works just great, but when I open the jump page in the simulator, it never actually attempts to open the local app on the phone which has the same bundle identifier.
I would guess this might be because the current app store URL box is blank (because it doesn't exist yet)... but I am not sure how I'm supposed to test if it works if I can't get the deeplink to trigger it locally.
Thanks!
Not exactly ideal, but if you're just trying to pass in static params to your app through a Branch link and test your app's implementation of them in the simulator, you can just hardcode them in the Branch initSessionWithLaunchOptions:andRegisterDeepLinkHandler: block. This block is called every time the application becomes active again (i.e., if it's backgrounded) and on application start, even if it's used in application:didFinishLaunchingWithOptions:.
The Branch handler block passes in a params dictionary, which you can either override (they'll be nil or just contain a few keys, if the block wasn't called from a tapped link) or just create your own to pass into your app.
This obviously doesn't work for testing desktop web site redirects or App Store downloads (or for many other use cases for Branch), but if you just wanted to test redirecting into specific views for your app from a clicked link (or in my case, how a dynamically generated view would look on a 4S when I didn't have a 4S available to test on), it gets the job done.
#Tallboy, unfortunately a simulator is not fit for testing deep links for two reasons:
there is no App Store on the simulator, so you cannot see true redirect behavior
the simulator does not support Universal Links
You're absolutely right -- you can click the link then manually open the app. In this case, we use our "deferred deep linking" mechanisms to determine that link was previously clicked. That method is discussed in our documentation here.
If you have questions about any of this, please ask. You can also reach the Branch team via support#branch.io.
I did this by using the Reminders app, create a new list, add that url as new item in that list, then click/tap that link in that item. It should open your app. :)
I found a work around for this problem. Just use any online note taking app from Safari. I've used googlekeep to create a new and pasted Branch url, then click/tap that link from there.

Adwords and Double-click: possible to have interactive banner ads where you click multiple times within the ad before being redirected to a website?

I have a client who is requesting something that I don't think is possible, but wanted to verify before I tell them it can't be done. What they want: to create an interactive animated banner ad, where the user would click on the ad to attempt to shoot a basket though a basketball goal. They will miss the first one, but try again, then make the basket. Then the ad would animate through to the end where they would then click through to the client's website. It seems like it wouldn't be possible to click multiple times on a banner ad. Is this correct or is there a way to do this? Thanks in advance for your help!
A part of what you are describing should be doable using the ExitApi, which allows you to make only a specific part of your ad a clickable exit. It's not very well documented but mentioned here.
Note that there might be other Adwords policies which will prevent you from implementing your creative exactly as described, but having only a specific element in your ad triggering a click-through is possible.

Is there a function which lets you add functionality to an existing app on ios?

I am curious if it is possible to make an app that adds a functionality to an existing app on ipad, say safari. If yes, which function would add a button to safari?
My question is based on 2 app advertisements I saw, one added a button to safari, the other created an app itself. I didnt buy them yet, so I dont know if they really do what thet say.
Thanks
As far as I'm aware, I think the closest you get to adding functionality to an existing app would be creating a new app that allowed interaction with certain document types.
For example, you might create an app that can open and read PDF documents. On installing this app, you would then find that interacting with a PDF document on any app (such as in an email attachment, or opening a PDF in Safari) would show a new option to open the PDF in your app. This kind of interaction is achieved via the UIDocumentInteractionController class.
Beyond that, I believe you would have to create your own app from scratch based on an existing one in order to extend functionality (so, create the 'MyBrowser' app to behave like Safari, except with additional controls and features).
I'd love to be proven wrong, however.

Resources