sarriaroman / FabricPlugin

Fabric.io plugin for Cordova or Phonegap
MIT License
198 stars 159 forks source link

Can't get it to work for iOS (Ionic 2+ app) #118

Closed zarko-tg closed 5 years ago

zarko-tg commented 6 years ago

First of all it took a while (after numerous builds/runs of the iOS app) to have it appear in the Fabric Crashlytics dashboard, unlike the one for Android. And now it won't show any events registered in the iOS project dashboard, even though we test by calling addLog, sendNonFatalCrash and sendCrash functions.

We build strictly via command line and building for iOS results in no errors on the console. Our builds are fully repeatable each time - platforms and plugins re-created each time.

Android works well, just as expected.

The plugin is configured in the project via the config.xml such as in:

  <plugin name="cordova-fabric-plugin" spec="1.1.10">
    <variable name="FABRIC_API_KEY" value="FOO"/>
    <variable name="FABRIC_API_SECRET" value="BAR"/>
  </plugin>

cordova (Cordova CLI): 6.5.0 
Cordova Platforms: ios 4.5.4
Ionic Framework: ionic-angular 3.9.2

Node: v8.9.1
npm: 5.6.0 
OS: macOS High Sierra
Xcode: Xcode 9.2 Build version 9C40b
birfincankafein commented 6 years ago

Same +1

tbergeron commented 6 years ago

Before I start using this for an Ionic cross-platform project, does this happen often when using this plugin with Ionic 2+? Has this been resolved yet? Thanks and good luck.