react-native-stallion 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -5
- package/android/src/main/java/com/stallion/StallionModule.java +1 -1
- package/ios/noop/StallionModule.h +1 -1
- package/ios/noop/StallionModule.m +1 -1
- package/package.json +3 -3
- package/react-native-stallion.podspec +1 -1
- package/src/StallionNativeModule.js +1 -1
- package/src/StallionNativeModule.js.map +1 -1
- package/types/StallionNativeModule.d.ts +1 -1
- package/types/StallionNativeModule.d.ts.map +1 -1
package/README.md
CHANGED
|
@@ -1,36 +1,44 @@
|
|
|
1
1
|
# react-native-stallion
|
|
2
|
+
|
|
2
3
|
Stallion is the ultimate testing framework for React Native apps !
|
|
3
4
|
It is a simplified build sharing and testing system that skips all the tedious hastle of generating a new new APK or IPA build everytime you make react native code changes.
|
|
4
5
|
With stallion a developer can directly publish a react native build to Stallion servers and any tester can simply download updates through the Stallion app SDK without re installing the app.
|
|
5
6
|
|
|
7
|
+
## Signup
|
|
8
|
+
|
|
9
|
+
Signup to use Stallion [here](https://app.stalliontech.io/)
|
|
10
|
+
|
|
6
11
|
## SDK Installation
|
|
7
12
|
|
|
8
13
|
### npm
|
|
14
|
+
|
|
9
15
|
```
|
|
10
16
|
npm install --save react-native-stallion
|
|
11
17
|
```
|
|
12
18
|
|
|
13
19
|
### yarn
|
|
20
|
+
|
|
14
21
|
```
|
|
15
22
|
yarn add react-native-stallion
|
|
16
23
|
```
|
|
17
24
|
|
|
18
|
-
check complete SDK installation steps from [here](https://docs.
|
|
25
|
+
check complete SDK installation steps from [here](https://docs.stalliontech.io/docs/install)
|
|
19
26
|
|
|
20
27
|
## Documentation
|
|
28
|
+
|
|
21
29
|
Document contains installation steps, usage and how to disable stallion in production
|
|
22
30
|
|
|
23
|
-
https://
|
|
31
|
+
https://docs.stalliontech.io
|
|
24
32
|
|
|
25
33
|
## Contributing
|
|
26
34
|
|
|
27
|
-
Please see the [contributing](./CONTRIBUTING.
|
|
35
|
+
Please see the [contributing](./CONTRIBUTING.md) file
|
|
28
36
|
for an introduction to the codebase and what the various moving parts are.
|
|
29
37
|
|
|
30
38
|
## Open issues
|
|
31
39
|
|
|
32
|
-
Check out [open issues](https://github.com/
|
|
40
|
+
Check out [open issues](https://github.com/stallion-tech/react-native-stallion/issues) for a list of known issues, and discussions.
|
|
33
41
|
|
|
34
42
|
## Code of Conduct
|
|
35
43
|
|
|
36
|
-
You can find the code of conduct [here](./CODE_OF_CONDUCT.md)
|
|
44
|
+
You can find the code of conduct [here](./CODE_OF_CONDUCT.md)
|
|
@@ -54,7 +54,7 @@ public class StallionModule extends ReactContextBaseJavaModule {
|
|
|
54
54
|
_exceptionThread = thread;
|
|
55
55
|
_exceptionThrowable = throwable;
|
|
56
56
|
String stackTraceString = Log.getStackTraceString(throwable);
|
|
57
|
-
if(stallionStorage.get(StallionConstants.STALLION_SWITCH_STATE_IDENTIFIER)
|
|
57
|
+
if(stallionStorage.get(StallionConstants.STALLION_SWITCH_STATE_IDENTIFIER).equals(StallionConstants.STALLION_SWITCH_ON)) {
|
|
58
58
|
toggleStallionSwitch(false);
|
|
59
59
|
Activity currentActivity = getCurrentActivity();
|
|
60
60
|
Intent myIntent = new Intent(currentActivity, StallionDefaultErrorActivity.class);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-stallion",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Offical React Native SDK for Stallion",
|
|
5
5
|
"main": "index",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
],
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/stallion-tech/react-native-stallion.git"
|
|
17
17
|
},
|
|
18
18
|
"author": "Sherlock <sherlock@redhorse.tech> (https://github.com/sherlock-redhorse)",
|
|
19
19
|
"license": "MIT",
|
|
20
|
-
"homepage": "https://
|
|
20
|
+
"homepage": "https://stalliontech.io/",
|
|
21
21
|
"resolutions": {
|
|
22
22
|
"@types/react": "17.0.21"
|
|
23
23
|
},
|
|
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
|
|
|
12
12
|
s.authors = package["author"]
|
|
13
13
|
|
|
14
14
|
s.platforms = { :ios => "12.0" }
|
|
15
|
-
s.source = { :git => "https://github.com/
|
|
15
|
+
s.source = { :git => "https://github.com/stallion-tech/react-native-stallion.git", :tag => "#{s.version}" }
|
|
16
16
|
|
|
17
17
|
isStallionEnabled = false
|
|
18
18
|
begin
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NativeModules } from 'react-native';
|
|
2
|
-
export const STALLION_DISABLED_ERROR = 'Stallion is disabled or not linked correctly, falling back to noop version. See https://docs.
|
|
2
|
+
export const STALLION_DISABLED_ERROR = 'Stallion is disabled or not linked correctly, falling back to noop version. See https://docs.stalliontech.io/docs/production-deployment';
|
|
3
3
|
const StallionNativeModule = NativeModules.Stallion;
|
|
4
4
|
export default StallionNativeModule;
|
|
5
5
|
//# sourceMappingURL=StallionNativeModule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeModules","STALLION_DISABLED_ERROR","StallionNativeModule","Stallion"],"sourceRoot":"../../src","sources":["StallionNativeModule.ts"],"mappings":"AAAA,SAASA,aAAa,QAAQ,cAAc;AAE5C,OAAO,MAAMC,uBAAuB,GAClC,
|
|
1
|
+
{"version":3,"names":["NativeModules","STALLION_DISABLED_ERROR","StallionNativeModule","Stallion"],"sourceRoot":"../../src","sources":["StallionNativeModule.ts"],"mappings":"AAAA,SAASA,aAAa,QAAQ,cAAc;AAE5C,OAAO,MAAMC,uBAAuB,GAClC,yIAAyI;AAE3I,MAAMC,oBAAoB,GAAGF,aAAa,CAACG,QAAQ;AAEnD,eAAeD,oBAAoB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const STALLION_DISABLED_ERROR = "Stallion is disabled or not linked correctly, falling back to noop version. See https://docs.
|
|
1
|
+
export declare const STALLION_DISABLED_ERROR = "Stallion is disabled or not linked correctly, falling back to noop version. See https://docs.stalliontech.io/docs/production-deployment";
|
|
2
2
|
declare const StallionNativeModule: any;
|
|
3
3
|
export default StallionNativeModule;
|
|
4
4
|
//# sourceMappingURL=StallionNativeModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StallionNativeModule.d.ts","sourceRoot":"","sources":["../../src/StallionNativeModule.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"StallionNativeModule.d.ts","sourceRoot":"","sources":["../../src/StallionNativeModule.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,4IACuG,CAAC;AAE5I,QAAA,MAAM,oBAAoB,KAAyB,CAAC;AAEpD,eAAe,oBAAoB,CAAC"}
|