Skip to content

Add Credentials for an Existing AppBlade Project

mbuchman edited this page May 3, 2013 · 15 revisions

Use of AppBlade isn't limited to the builds you upload. You can start using features like crash reporting and feedback immediately. All you need is an AppBlade project and an Android or iOS project with our SDK embedded.

##Android## After following through our guide to embedding our SDK for Android, you'll also need to add credentials for an AppBlade project before anything can happen.

From the AppBlade project details page, click the link for the project's API keys.

From the resultant modal, click the clipboard next to "Copy your keys in an Android code snippet". Your AppBlade credentials will then be copied over.

!

Then in your AppBlade-embedded Android project, paste your credentials in your custom Application class.

!

(Don't have a custom Application class? Check out our registration walkthrough for Android).

And that should do it. Your devices and your simulators should now be able to communicate with AppBlade.

##iOS##

After following through our guide to embedding our SDK for iOS, you might notice that the SDK will compile, but it will only communicate with AppBlade once the ipa is uploaded. That is because our custom build process adds credentials to your ipa after you upload it.

It is common for developers to use our SDK for crash reporting and feedback without first uploading the build to AppBlade. For you to do this with the current implementation, you must download an AppbladeKeys.plist file from one of your AppBlade projects. From your AppBlade project details page, click the link for the project's API keys.

From the resultant modal, click your "Download your iOS plist" link. A download for a new AppBladeKeys.plist file will be prompted.

!

Inside your Xcode project (with our SDK already embedded), open the file location of the current AppBladeKeys.plist (the one that was added when the SDK was embedded).

!

Replace the file in your project with the new, downloaded AppBladeKeys.plist, and your project should now have the new AppBladeKeys.plist that you just downloaded.

!

And you're done! Your devices and simulators should now be able to communicate with AppBlade.