In my BB application after installing it on the device showing this Error "Error starting AppName Module 'AppName' attempts to access a secure API"
I am opening internet Browser in my application and not giving any kind of permission so this can be the reason of this error of something else.....
Please Help
Thanks
Please try to sign your application, then install. If you do not have a signature key, you can request new keys here. It's free nowadays. More help in this link.
This error indicates that the application has not been fully signed. Note that when you sign up for a set of code signing keys for BlackBerry OS 7.1 and lower you are sent 3 different keys. All 3 must be installed. If you don't install all of them you could partially sign your application and receive the error above.
You can verify the signatures applied to a COD file by opening the COD file using the SignatureTool. It'll show the signatures that have been applied. Look for signatures for RBB, RCR and RRT (note that RRT is only present when required).
Related
The title error is what gets emailed after uploading the ipa via the application loader and below is the error that occurs in debug mode:
ERROR: "The framework
APPNAME.app/Frameworks/PersonalizedAdConsent.framework does not
contain a binary named PersonalizedAdConsent"
I've been getting this error in debug mode when trying to build the project. However, when I build it in Ad-Hoc mode, it builds fine and uploads on the application loader without any issues but then I get the following mail
"This bundle is invalid - The Info.plist file for
PersonalizedAdConsent.framework is missing or could not be read."
I've looked in the Info.plist file as well as .csproj file for this reference and I cannot find it anywhere.
Also searched online, can't find much about the PersonalizedAdConsent.
Any ideas?
So it seems like the issue was because of the following packages:
Xamarin.Google.iOS.MobileAds
&
Xamarin.Firebase.Ads
As far as I can tell, the app needs permissions to request consent to display ads or personalized ads (not too sure exactly) and it build correctly after removing these packages.
These were in a build that I've done on Windows for a different app which did not actually use them but VS for MAC gave me the issues and it turned out to be these packages that were causing it.
Hope it helps!
I downloaded the google map IOS sdk and then i crated the project from https://console.developers.google.com and then i created an API key.
Also i added the bundle identifier of the demo app in SDK.
But everytime i am running the app i am getting this error.
Google Maps SDK for iOS (M4B) cannot connect or validate APIKey: Error Domain=com.google.HTTPStatus Code=400 "The operation couldn’t be completed. (com.google.HTTPStatus error 400.)" UserInfo=0x15f04e00 {data={length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}
Your key may be invalid for your bundle ID
I created the key multiple times and also checked the bundle identifier but they are correct.
So i am not able to figure out what exactly i am doing wrong.
Please let me know if any one can help regarding this.
Regards,
Arvinder
Make sure that you have the generated key for your iOS app in the developer console in the line
[GMSServices provideAPIKey:#"<INSERT API KEY HERE>"];
The error seems to complain that you are having an invalid Key which might be your case as you are directly trying to run demo code that you have downloaded. Example code do not usually contain valid keys as it can be misused by anyone else or exhaust the original authors API-call limits.
Also make sure that you have entered/authorized your current app's bundle id to use this API Key when you have generated it in your Google developer console.
First Create key for ios device from here
copy your bundle id form project so there is no chance for mistake
https://console.developers.google.com/project/plated-courier-95607/apiui/credential#pending_key
after that clean xcode , reset simulator ,close xcode ,open project run again it definitely going to work
you need to use the framework. Please find the instructions to download it via cocoa pods on the answer given by me on this link :
not able to use Google map sdk in ios
I also faced the same issue. Actually the problem is Google M4B Framework comes under premium plan. You need to purchase it from the Google's Developer Portal because it provides some new classes like GMSAutoComplete,
GMSAutoPredict etc.
You should rather use Google Standard Framework. It will run completely fine. Also you will not find some classes that come under Google M4B(only 5 new classes).
Implement the required steps and have fun.
When I tried to install my phonegap app in Blackberry device it's showing an error like "Attempts to access secure API".
But the same app running properly in "Blackberry Simulator".
How can I resolve this error?
Please help...
You forgot to sign your application before installing it on an actual device. Unsigned app works on simulator, but you need to sign it to run it on actual device.
Get your signing keys here: https://www.blackberry.com/SignedKeys/codesigning.html
EDIT: updated signing keys link, because RIM (BlackBerry) has updated their web-site and old link pointed to 404 error page.
I have checked other questions around but no one seems to have exactly the same error. I'm using phonegap+jqm to create an application, initially tested on my android phone, now i'm trying to build-deploy to a blackberry. To build the app i used the phonegap starting guide, with:
ant blackberry load-device
I DID sign the application with the RIM provided keys. Still getting the error. Some help?
The problem was with the Signing Tool + JAVA SDK 1.7: it is a known issue that these two dont get along well.
Download and install the BlackBerry Signature Tool and run your compiled .cod file through it to check whether it is really signed or not.
I have an application of mine on AppStore. But one user is complaining that he can not install the application on his device(Curve 8900) and it's giving error
"Error starting AppName
$28NonTouch$29:
Module 'AppName
$28NonTouch$29-2' has
verification errors."
Now how come it is possible that other's users are able to download properly while one user is getting this error. I downloaded the application from the appstore and its working perfectly.
And when this user tries to install the application through Desktop Manager he is getting error
"No additional applications can
be found. Your file may contain applications that already exist in the
application list, are not compatible for your device, or have errors."
When i tried to stimulate the issue here by installing the application through desktop manager i am able to install it properly without any error messages.
Can anyone suggest me ,what might be causing this issue.?? Is there any kind of version mismatch??
My application is compiled usiong jdk 4.5.
Any help in this regard will be greatly appreciated.
Kindly help,Its urgent..
Thanx in advance."
Probably the problem is related with the version specified in the .alx file.
Check the .alx file and remove the "_blackberryVersion" tag, or change it so it matches the OS version on your device.