Skip to content
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

Crash on startup (Android & iOS) #9

Open
elibroide opened this issue Jun 25, 2015 · 5 comments
Open

Crash on startup (Android & iOS) #9

elibroide opened this issue Jun 25, 2015 · 5 comments

Comments

@elibroide
Copy link

Hello,
Thank you for building and publishing this ANE,

However, it seems to just crash our android app on startup (even without calling start).
On iOS it seems to crash as soon as start() is called.

We're using it for a HaXe game using Flambe engine
Did anyone else experience it?
Is it currently working for anyone?

@maguas
Copy link

maguas commented Jul 28, 2015

I'm experiencing the same issue on IOS, app crashes when AirCrashlytics.start(); is called.

Aside from that I have a doubt when placing my API_KEY inside InfoAdditions. Docs say:

<iPhone>
 <InfoAdditions><![CDATA[
        <key>CrashlyticsAPIKey</key>
        <string>{YOUR_API_KEY}</string>
    ]]></InfoAdditions>
</iPhone>

should API_KEY be between "{" and "}" or I have to replace the whole "{YOUR_API_KEY}"

Thanks

@andreivreja
Copy link

Same thing is happening to me on Android, after calling start(); no crash if I don't call the start() function.

I tried placing the API Key between the {} and even without {}, no difference, still crashing.

I am able to trace the version, but if I trace the api key it is "0". Maybe because start was not called yet, or not; not sure as I did not check the native sdk code yet to see if the variables gets set after starting.

Gonna try find out what is causing the problem.

@abinanto
Copy link

Hello,
has any fix come for this issue.

@abinanto
Copy link

I have found a solution for this, inside InfoAdditions place this instead,

        <string>{YOUR API KEY}</string>
        <key>Kits</key>
        <array>
            <dict>
                <key>KitInfo</key>
                <dict/>
                <key>KitName</key>
                <string>Crashlytics</string>
            </dict>
        </array>

This solves the crash issue. :) 👍

@shaiorensgn
Copy link

shaiorensgn commented Jul 24, 2017

I believe that is the solution for the updateIOS branch. For master this should work:

<key>Fabric</key>
<dict>
    <key>APIKey</key>
    <string>YOUR_API_KEY</string>
</dict>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants