Skip to content

Commit dc9c789

Browse files
authored
[MOB-10035] Update Package Metadata (#776)
* Update Package Metadata * Update Native Metadata * Update package.json
1 parent 1da1c2b commit dc9c789

File tree

3 files changed

+28
-31
lines changed

3 files changed

+28
-31
lines changed

RNInstabug.podspec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
require 'json'
22
package = JSON.parse(File.read('package.json'))
3-
version = package["version"]
43

54
Pod::Spec.new do |s|
65
s.name = 'RNInstabug'
7-
s.version = version
6+
s.version = package["version"]
87
s.summary = package["description"]
98
s.author = package["author"]
109
s.license = package["license"]
1110
s.homepage = package["homepage"]
12-
s.source = { :git => "https://github.com/Instabug/instabug-reactnative.git", :tag => 'v' + version }
11+
s.source = { :git => "https://github.com/Instabug/Instabug-React-Native.git", :tag => 'v' + package["version"] }
1312
s.source_files = 'ios/RNInstabug/*'
1413
s.platform = :ios, "9.0"
15-
s.static_framework = true
14+
15+
s.static_framework = true
1616
s.ios.vendored_frameworks = 'ios/Instabug.xcframework'
17+
1718
s.dependency 'React'
1819
end

android/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
apply plugin: 'com.android.library'
32

43
String getExtOrDefault(String name) {
@@ -16,11 +15,11 @@ android {
1615
minSdkVersion getExtOrDefault('minSdkVersion').toInteger()
1716
targetSdkVersion getExtOrDefault('targetSdkVersion').toInteger()
1817
versionCode 1
19-
versionName "1.0"
18+
versionName "11.0.2"
19+
multiDexEnabled true
2020
ndk {
2121
abiFilters "armeabi-v7a", "x86"
2222
}
23-
multiDexEnabled true
2423
}
2524
lintOptions {
2625
warning 'InvalidPackage'

package.json

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
{
22
"name": "instabug-reactnative",
3-
"version": "11.0.2",
43
"description": "React Native plugin for integrating the Instabug SDK",
4+
"version": "11.0.2",
5+
"author": "Instabug (https://instabug.com)",
6+
"repository": "github:Instabug/Instabug-React-Native",
7+
"homepage": "https://www.instabug.com/platforms/react-native",
8+
"bugs": "https://github.com/Instabug/Instabug-React-Native/issues",
9+
"license": "MIT",
510
"main": "index.js",
611
"types": "index.d.ts",
7-
"repository": {
8-
"type": "git",
9-
"url": "git+https://github.com/Instabug/instabug-reactnative.git"
10-
},
1112
"keywords": [
1213
"react-native",
13-
"bug",
14-
"reporting",
15-
"feedback",
1614
"instabug",
17-
"sdk"
15+
"debugging",
16+
"errors",
17+
"exceptions",
18+
"logging",
19+
"reporting",
20+
"feedback"
1821
],
19-
"author": "Hossam Hassan && Yousef Hamza",
20-
"license": "MIT",
21-
"bugs": {
22-
"url": "https://github.com/Instabug/instabug-reactnative/issues"
22+
"scripts": {
23+
"test": "jest && codecov"
24+
},
25+
"peerDependencies": {
26+
"react": ">=16.8.6",
27+
"react-native": ">=0.60.0"
2328
},
24-
"homepage": "https://github.com/Instabug/instabug-reactnative#readme",
2529
"devDependencies": {
2630
"babel-core": "7.0.0-bridge.0",
2731
"babel-jest": "^24.8.0",
@@ -35,19 +39,12 @@
3539
"typescript": "4.0.3",
3640
"wait-for-expect": "^1.2.0"
3741
},
38-
"peerDependencies": {
39-
"react": ">=16.8.6",
40-
"react-native": ">=0.60.0"
41-
},
4242
"jest": {
4343
"preset": "react-native",
44+
"coverageDirectory": "./coverage/",
45+
"collectCoverage": true,
4446
"modulePathIgnorePatterns": [
4547
"InstabugSample"
46-
],
47-
"coverageDirectory": "./coverage/",
48-
"collectCoverage": true
49-
},
50-
"scripts": {
51-
"test": "jest && ./node_modules/.bin/codecov"
48+
]
5249
}
5350
}

0 commit comments

Comments
 (0)