Skip to content

Commit

Permalink
feat(crashlytics): add package (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
robingenz authored Mar 15, 2022
1 parent 90ae98e commit 6cca61d
Show file tree
Hide file tree
Showing 52 changed files with 10,839 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/silly-rice-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@capacitor-firebase/crashlytics": minor
---

Initial release 🎉
104 changes: 103 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/app/android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include ':capacitor-android'
project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')
project(':capacitor-android').projectDir = new File('../../../node_modules/@capacitor/android/capacitor')
4 changes: 2 additions & 2 deletions packages/app/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ platform :ios, '12.0'
def capacitor_pods
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'Capacitor', :path => '../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../node_modules/@capacitor/ios'
pod 'Capacitor', :path => '../../../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../../../node_modules/@capacitor/ios'
end

target 'Plugin' do
Expand Down
2 changes: 2 additions & 0 deletions packages/crashlytics/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build
dist
61 changes: 61 additions & 0 deletions packages/crashlytics/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# node files
dist
node_modules

# iOS files
Pods
Podfile.lock
Build
xcuserdata

# macOS files
.DS_Store



# Based on Android gitignore template: https://github.com/github/gitignore/blob/HEAD/Android.gitignore

# Built application files
*.apk
*.ap_

# Files for the ART/Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin
gen
out

# Gradle files
.gradle
build

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard

# Log Files
*.log

# Android Studio Navigation editor temp files
.navigation

# Android Studio captures folder
captures

# IntelliJ
*.iml
.idea

# Keystore files
# Uncomment the following line if you do not want to check your keystore files in.
#*.jks

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
1 change: 1 addition & 0 deletions packages/crashlytics/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
save-exact=true
2 changes: 2 additions & 0 deletions packages/crashlytics/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build
dist
1 change: 1 addition & 0 deletions packages/crashlytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Changelog
19 changes: 19 additions & 0 deletions packages/crashlytics/CapacitorFirebaseCrashlytics.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = 'CapacitorFirebaseCrashlytics'
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['repository']['url']
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '12.0'
s.dependency 'Capacitor'
s.dependency 'Firebase/Crashlytics', '8.4.0'
s.swift_version = '5.1'
s.static_framework = true
end
Loading

0 comments on commit 6cca61d

Please sign in to comment.