-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ti.Admob crashes on launch of the application. #306
Comments
Hi @deckameron , Thanks for the reply. I tried the 4.8.0 version on both simulator and iPhone 7, but still app is crashing at launch. |
Hi, have you figured it out? I'm having the same problem and have tried the admob version 4.0.0 and the 4.8.0. |
@Manuelapr Yes, the issue can be resolved by setting up Info. list correctly. Once the Info. plist is set up correctly with keys mentioned in the docs |
Thanks for you replay. Can you guide me on how to set up the info.plist file? Thanks |
Here use this document to set keys correctly |
Hi, thanks for the replay. Using that link I managed to make it to work. At least the app don't closes any mor 😁 But now I get this message: Failed to read publisher's account configuration; try again later. I have used the example code that came with the module and have set in all places the keys of my account and ad. What could I bee missing with this error? |
Yes, now you need to set up your own admob account and provide proper settings especially Admob UnitID |
Hi @curtx . Thanks for the replay. I have tried to set the id's in this places shown in the code of the example that cames with the module (images atached). I have also posted the ID's of my admob account. My problem is that I get allways the message: "Failed to read publisher's account configuration; try again later." on the admob.requestConsentInfoUpdateWithParameters method. I really don't know what I'm missing. |
You are confusing AdMob ad Unit ID with AdMob app ID (https://support.google.com/admob/answer/7356431). AdMob ad Unit ID is the one in this format <ios>
<plist>
<dict>
<key>GADApplicationIdentifier</key>
<string>ca-app-pub-xxxxxxxxxxxxxxxx~xxxxxxxxxx</string>
</dict>
</plist>
</ios> The AdMob ad Unit ID is the ad that you create in your AdMob account for your app, and it is in the format Admob.createView({
adUnitId: 'app-pub-xxxxxxxxxxxxxxxx/xxxxxxxxxx'
}); For example, to create a banner in your AdMob account you must follow these instructions: https://support.google.com/admob/answer/7311346 |
I tried 2.5.1 and 3.0.0 for IOS using titanium sdk 10.1.1.GA. The app launches and then crashes at start screen. After debugging I found this error
pthread_exit() called from a thread not created by pthread_create()
Please help!
The text was updated successfully, but these errors were encountered: