PIN authentication on iOS app and then listing all ios apps - objective-c

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,

Related

Native way to inform user there is a mobile app?

Often when viewing a website on a mobile device you'll get a notification that a mobile app is available, or if you already have the app downloaded you'll have the option to open the URL in the app.
Is there a native way to do this or are these notifications always custom?
When users click on a link or download a file and the suggestion pops up to open the respective app, that's called deep linking. iOS labels it as Universal Links and Android uses App Links.

How to Launch/Open any other external app from hybrid app? [duplicate]

I have a requirement to open the native version of the hybrid app (.ipa/.apk/.appx) when the hybrid app is requested in a device browser.
I am able to detect the environment using WL.Client.getEnvironment(); method, if it is found to be Android/iPad, I want to launch the respective .apk/.ipa file in the device. Any help is appreciated.
Re-reading this question and the comments several times... I still do not understand the actual scenario... it'd be best to rephrase it.
Scenario: How to open an app from the web browser:
If you have added the following environments to your Worklight application:
Mobile Web
Android
iPhone
And when visiting the Mobile Web version of your app, you want to display a message like "For the full experience, open the full application by clicking here".
Then:
It is implied that the user already has the application installed.
If it is not installed, you need to take care of that somehow
The way to handle this scenario is to use URI schemas:
For Android: How to implement my very own URI scheme on Android
This means that after adding the custom URI schema to AndroidManifest.xml, you could then detect the device OS the Mobile Web app is currently running on and display a custom link: myapp://<the URI schema you've defined>. Tapping it will open the app installed on the device.
For iOS, in a similar fashion: https://coderwall.com/p/mtjaeq
Also see: http://wiki.akosma.com/IPhone_URL_Schemes
Alternate solution: If you are not sure if the app will be installed or not, then instead of using URI schemas you can always point to either Google Play or Apple App Store, to the app page; the user will then have either a "Open" or "Install" link.
Scenario: How to open an app from my own app
If you have a Worklight Hybrid application (Mobile Web is not a Hybrid application), and you want to open another application from within it, you can:
Use the same approach of URI schemas, or
Use Cordova plug-ins
I have created this Worklight 6.1.0 project to demonstrate:
Android - How to open, for example, the Android Settings app from your Worklight Hybrid app
iOS - How to check if Waze is installed and open it, and if it is not installed then to open Apple Maps instead.
See instructions.txt in the apps\test folder.
Are you asking that if the user via their device browser hits the webapp version of your app on the internet, the website will ask the user to fire up the native app on their device? kind of like what ebay does?
if that is what you want check out these pages
android:Launch custom android application from android browser
IOS:
iPhone - Open Application from Web Page

itunes connect metadata rejected video third party, how to resolve?

I uploaded my app to itunes connect and I waited a few days.. and then the app that I uploaded was denied one time. I send them one video explaining the app, but anyway they rejected the app.
This is the first message:
We began the review of your app but are still not able to continue because we need access to a video that demonstrates your app in use when launched on the physical device and integrating with third party product. Please showcase all app features and functionality within the video content provided. The simulation video provided will not suffice.
This is the second message:
The simulation video provided will not suffice. We need access to a video that demonstrates your app in use when launched on the physical device, and integrating with the third party product. Please showcase all app features and functionality within the video content provided.
What do I need to do? Use a screen capture software and film my app in use in the iPhone? Upload to youtube and share the link in the review notes of the app? A simple demonstration? or a expanded demonstration?

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.

Sencha Touch and Admob without url

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.