Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'json'

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

Pod::Spec.new do |s|
s.name = package['name']
Expand All @@ -12,7 +12,7 @@ Pod::Spec.new do |s|

s.author = { 'Microsoft' => 'appcentersdk@microsoft.com' }
s.source = { :git => "https://github.com/microsoft/appcenter-sdk-react-native.git" }
s.source_files = "AppCenterReactNativeAnalytics/**/*.{h,m}"
s.source_files = "ios/AppCenterReactNativeAnalytics/**/*.{h,m}"
s.platform = :ios, '9.0'
s.requires_arc = true

Expand Down
4 changes: 1 addition & 3 deletions appcenter-analytics/react-native.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ const path = require('path');
module.exports = {
dependency: {
platforms: {
ios: {
podspecPath: path.join(__dirname, 'ios', 'appcenter-analytics.podspec')
},
ios: {},
android: {
packageInstance: 'new AppCenterReactNativeAnalyticsPackage(getApplication(), getResources().getString(R.string.appCenterAnalytics_whenToEnableAnalytics))'
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'json'

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

Pod::Spec.new do |s|
s.name = package['name']
Expand All @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.author = { 'Microsoft' => 'appcentersdk@microsoft.com' }

s.source = { :git => "https://github.com/microsoft/appcenter-sdk-react-native.git" }
s.source_files = "AppCenterReactNativeCrashes/**/*.{h,m}"
s.source_files = "ios/AppCenterReactNativeCrashes/**/*.{h,m}"
s.platform = :ios, '9.0'
s.requires_arc = true

Expand Down
4 changes: 1 addition & 3 deletions appcenter-crashes/react-native.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ const path = require('path');
module.exports = {
dependency: {
platforms: {
ios: {
podspecPath: path.join(__dirname, 'ios', 'appcenter-crashes.podspec')
},
ios: {},
android: {
packageInstance: 'new AppCenterReactNativeCrashesPackage(getApplication(), getResources().getString(R.string.appCenterCrashes_whenToSendCrashes))'
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'json'

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

Pod::Spec.new do |s|
# The name is hardcoded due to a name conflict, resulting in the error 'Errno::ENOENT - No such file or directory @ rb_sysopen - appcenter.podspec.json' error.
Expand All @@ -15,7 +15,7 @@ Pod::Spec.new do |s|
s.author = { 'Microsoft' => 'appcentersdk@microsoft.com' }

s.source = { :git => "https://github.com/microsoft/appcenter-sdk-react-native.git" }
s.source_files = "AppCenterReactNative/**/*.{h,m}"
s.source_files = "ios/AppCenterReactNative/**/*.{h,m}"
s.platform = :ios, '9.0'
s.requires_arc = true

Expand Down
4 changes: 1 addition & 3 deletions appcenter/react-native.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ const path = require('path');
module.exports = {
dependency: {
platforms: {
ios: {
podspecPath: path.join(__dirname, 'ios', 'appcenter-core.podspec')
},
ios: {},
android: {
packageInstance: 'new AppCenterReactNativePackage(getApplication())'
}
Expand Down