Skip to content

Commit

Permalink
ios functionality fix
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammad-ntd committed Nov 18, 2019
1 parent afb5a10 commit a48c7ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/node_modules
/test-reports/jshint.xml
/package-lock.json
.idea
6 changes: 3 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="Fabric"/>
<pod name="Crashlytics" />
<pod name="FirebaseCore" />
<pod name="Fabric" specs="~> 1.10.2"/>
<pod name="Crashlytics" specs="~> 3.14.0" />
<pod name="Firebase/Analytics" />
</pods>
</podspec>

Expand Down
3 changes: 3 additions & 0 deletions src/ios/FirebaseCrashlyticsPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

#import <Cordova/CDVAvailability.h>

#import <Firebase/Firebase.h>

@implementation FirebaseCrashlyticsPlugin

- (void)pluginInitialize {
[FIRApp configure];
}

- (void)crash:(CDVInvokedUrlCommand *)command {
Expand Down

0 comments on commit a48c7ae

Please sign in to comment.