Google Maps iOS SDK Integration not loading maps - iphone

I am using Google maps iOS SDK in my iPhone application. I am showing a place mark on the map and it is working fine in my iPhone device using my apple developer account certificates. But when i sent build to testing team using a different Enterprise Apple developer account certificates(Enterprise account), the maps are not loading up, it only shows the Place mark on a blank screen with the maps loading up.
I have also tried on my iPhone devices with the enterprise apple developer account, and it is not loading the map(Just a Pin on blank screen). But with my own apple developer account certificates, it is working absolutely fine.
I am assuming that the problem is in Enterprise Apple developer account(Might be i have change some settings on Apple developer account for my App Id). I am not able to find out a solution for this.
Can anybody help me out on this? If you need more information on this , please ask me in a comment.
Thanks in Advance!

Typically this will happen if you don't have the app bundle id added to your google APIs console. The bundle id (eg., com.myname.appname) is what google uses to verify that an app is allowed to use a certain api key. If you've moved your app from one developer account to another, you've probably changed the bundle id in the process. Fortunately, google allows you to associate multiple bundle ids with a single api key.
To add a new bundle id:
Verify the bundle id you are using in xcode (select the target and look under summary)
Login to https://code.google.com/apis/console/
Select "API Access" on the left column
Select "Edit allowed iOS apps" under the "key for iOS apps" section
Add the bundle id used in the enterprise build

Also possible
For me, I just simply haven't enabled the SDK for iOS.
To make sure you have:
Go to your console with your selected project.
Navigate to the API Library page
Click on Maps SDK for iOS
Press the enable button (it's not there any longer after it's enabled.. so make sure that it says API Enabled.
Note:
I know this answer doesn't contribute to the specific question... but it fits the title!

Related

Adobe AIR Facebook login setup

I need to implement facebook login in Adobe AIR app for Desktop/Mobile.
I saw some docs on the code required for this.
My concern is, which platform should be selected in facebook apps console. Is it web ? Then what should be the web urls & where to place them ?
Well if you are building a mobile app, then you might want to select Android or iOS depending on the platform. If you are building the same app for both platforms then select any one of those and later under settings of your app dashboard you can click on Add Platform and add the other one. If your app has a canvas presence then you can add that as well later on. Regardless of what you pick initially, you can always add/edit platforms on your app dashboard.

iOS 6 the facebook server could not fulfill this access request invalid application

In some iPhone 5 devices we have an error when trying to call Facebook login:
The error is:
"the facebook server could not fulfill this access request invalid application id"
I many times checked that application id is specified correctly.
Strange, that on other devices same app is working correctly.
Please, could you help, what the reason of that?
All developers of a particular app, should be known to Facebook. While the application is in Sandbox mode (i.e. developer only access), all every user who want to use the Facebook platform, for testing/developing the application, will have to be added as a developer (as shown below) -
Just goto https://developers.facebook.com/apps/, and add the user, in the list of developers/admins.
More than likely the app is "sandboxed", so only developers have access. If this is the case you'll have to use a developer account on the iPhone.
Go to iOS settings > Facebook
Log out with your "personal" account
Log in with the developer account (to be safe us the dev account that you created the app with)
This worked for me.
I faced this problem. For me the issue was that I hadn't added the iOS platform for the app. Go to the Facebook developer page, then select your app. In the left nav bar go to settings. Then add platform. Ensure that your bundle identifier is correct. Then it should work.
If you have been testing with a sandbox facebook app and then receive this error when switching to the production app make sure you have published the app in the status & review tab.

How to change appstore application icon

Hi can any one suggest me it is possible or not and if possible then how?
The premise is that the user pays for the app via a website and they gets an access code to send to her guests via the website. The user downloads the free app from the iPhone store and enters the code. We're trying to figure out if we can enable each user to customize the app icon so it can appear with a different image or text on the user phone.
You can't. The application's icon (and the application's property list file) is in the application bundle, which cannot be modified.
This would also violate the iOS SDK Terms of Use and the iTunes Store Terms of Service; you cannot have a third-party receive payment to access a free iOS application.
You can customize the iOS icon of a web app clipping, and put the web site to be clipped behind your private paywall. Apple has been reported in the past to accept App store apps that generate URLs to customized clippable web apps. No idea if they currently or will continue to do so.
Icons on App store iOS apps for stock OS devices can only be changed by Apple approving an update.
Evan is right... This goes against so many terms of the iOS SDK.
One thing you could do (but I can't guarantee it will be accepted by Apple) is create a registration system on your website. Then have a login on the App as soon as it loads and check that the user has a valid account which has paid the subscription. You would have to handle all of your payment stuff on the webside though, meaning the app would be useless unless the user has already sorted that out. If you do this, on submission of your app make sure you provide Apple with a demo account username and password!
As for the icon, you can't change it once the App is submitted. It is bundled in with your app binary and there is also a logo included in iTunes connect. You can change them, but only by submitting a new binary.

Admob for iphone Apps?

I know how to use Admob in iphone apps infact I have used in many application. But I am completely unaware about how publisher id is generated for iphone apps from website.
Today I have registered a new account with admob.com. Now where I have to go further for publisher id ?
I have just click this link: http://www.admob.com/my_sites/create_site.
Please see below screenshot. There is a field to enter Appstore URL. But how can i put my appstore url in development phase ? My application is still in development phase.
Am I at the wrong place ? Or only publisher id is required from any other place.
Please help.
Login to iTunes Connect. Select Manage Applications and create or select your app in development. Then you can see the AppStore-Link (click View in App Store).

iPhone:Problem when submitting the app which has same bundle identifier

I have created a provisional profile using 'Non Wild Card App ID'. Which does have like "com.compnayname.appname". As i want to use this for my free application as well as the same application with new set of features as paid application, i followed to not to use Wild Card App ID. Now i have submitted my free application, it is being shown well. I am trying to submit the same app which has more features, as paid application, iTunes connect throws error as "The binary you uploaded was invalid. The bundle identifier is already in use by a different software package.". I used the same bundle identifier for paid app build too when creating Distribution build, because provisional profile is created same for both the apps. I also tried to create a build using "com.compnayname.appname.moreinfo", but app building is not successful as Prov Profile is being created with "com.compnayname.appname".
What can i do now? How would i use the same provisional profile and bundle identifier for my same free app and paid app? Then what is the use of creating 'Non Wild Card App ID' ??
Note: I know creating of Wild Card ID and use it. But i wanted to use Non-Wild Card ID for both the apps(but same app), free app and paid app.
Could someone please help me on resolving this?
Thank you. Appreciate your quick help.
if it's the same app, use the same ID, but make it an "upgrade" from your previous app, that is, use the "upgrade this application" button in iTunes Connect. This will mean people who downloaded it before for free will get the new version for free, but you can charge new users if you want.
If you don't want previous owners to get the new version for free, then it's really a new app, and needs a new bundle ID.
Another option is to make it an upgrade, leave it free, and use in-app-purchase to unlock the new features.
The documentation states that if you are building a suite of apps that should share the same settings etc. then you should be using a wildcard app ID.
I don't believe it's possible to use a unique appID for two apps. Then it wouldn't be unique.