@callstack/react-native-brownfield 0.0.3 → 1.0.0-rc.0

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.
Files changed (65) hide show
  1. package/README.md +26 -1
  2. package/ReactNativeBrownfield.podspec +10 -3
  3. package/android/build.gradle +89 -16
  4. package/android/gradle.properties +5 -0
  5. package/android/src/main/java/com/callstack/reactnativebrownfield/ReactNativeBrownfield.kt +90 -18
  6. package/android/src/main/java/com/callstack/reactnativebrownfield/ReactNativeBrownfieldModule.kt +22 -21
  7. package/android/src/main/java/com/callstack/reactnativebrownfield/ReactNativeBrownfieldPackage.kt +9 -9
  8. package/android/src/main/java/com/callstack/reactnativebrownfield/ReactNativeFragment.kt +139 -143
  9. package/ios/ReactNativeBrownfield.swift +119 -0
  10. package/ios/ReactNativeBrownfieldModule.m +8 -11
  11. package/ios/ReactNativeBrownfieldModule.swift +18 -0
  12. package/ios/ReactNativeView.swift +42 -0
  13. package/ios/ReactNativeViewController.swift +66 -0
  14. package/lib/commonjs/RNBrownfieldSpec.js +9 -0
  15. package/lib/commonjs/RNBrownfieldSpec.js.map +1 -0
  16. package/lib/commonjs/index.js +31 -0
  17. package/lib/commonjs/index.js.map +1 -0
  18. package/lib/commonjs/package.json +1 -0
  19. package/lib/module/RNBrownfieldSpec.js +5 -0
  20. package/lib/module/RNBrownfieldSpec.js.map +1 -0
  21. package/lib/module/index.js +26 -0
  22. package/lib/module/index.js.map +1 -0
  23. package/lib/module/package.json +1 -0
  24. package/lib/typescript/src/RNBrownfieldSpec.d.ts +20 -0
  25. package/lib/typescript/src/RNBrownfieldSpec.d.ts.map +1 -0
  26. package/lib/typescript/src/index.d.ts +6 -0
  27. package/lib/typescript/src/index.d.ts.map +1 -0
  28. package/package.json +126 -18
  29. package/src/RNBrownfieldSpec.ts +23 -0
  30. package/src/{index.js → index.ts} +9 -9
  31. package/.eslintrc.js +0 -6
  32. package/.flowconfig +0 -100
  33. package/CODE_OF_CONDUCT.md +0 -73
  34. package/android/.gradle/4.10/fileChanges/last-build.bin +0 -0
  35. package/android/.gradle/4.10/fileHashes/fileHashes.bin +0 -0
  36. package/android/.gradle/4.10/fileHashes/fileHashes.lock +0 -0
  37. package/android/.gradle/4.10/gc.properties +0 -0
  38. package/android/.gradle/5.1.1/fileChanges/last-build.bin +0 -0
  39. package/android/.gradle/5.1.1/fileHashes/fileHashes.lock +0 -0
  40. package/android/.gradle/5.1.1/gc.properties +0 -0
  41. package/android/.gradle/vcs-1/gc.properties +0 -0
  42. package/android/.idea/encodings.xml +0 -4
  43. package/android/.idea/gradle.xml +0 -12
  44. package/android/.idea/misc.xml +0 -14
  45. package/android/.idea/runConfigurations.xml +0 -12
  46. package/android/.idea/vcs.xml +0 -6
  47. package/android/.idea/workspace.xml +0 -126
  48. package/android/android.iml +0 -16
  49. package/android/local.properties +0 -8
  50. package/android/react-native-brownfield.iml +0 -201
  51. package/android/src/main/java/com/callstack/reactnativebrownfield/ReactNativeActivity.kt +0 -170
  52. package/babel.config.js +0 -13
  53. package/docs/JAVA.md +0 -305
  54. package/docs/KOTLIN.md +0 -274
  55. package/docs/OBJECTIVE_C.md +0 -150
  56. package/docs/SWIFT.md +0 -164
  57. package/ios/ReactNativeBrownfield.h +0 -24
  58. package/ios/ReactNativeBrownfield.m +0 -82
  59. package/ios/ReactNativeBrownfieldNotifications.h +0 -4
  60. package/ios/ReactNativeBrownfieldNotifications.m +0 -4
  61. package/ios/ReactNativeViewController.h +0 -15
  62. package/ios/ReactNativeViewController.m +0 -64
  63. package/prettier.config.js +0 -7
  64. package/react-native.config.js +0 -9
  65. package/types/index.d.ts +0 -11
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ import { Platform } from 'react-native';
4
+ import ReactNativeBrownfieldModule from './RNBrownfieldSpec';
5
+ const ReactNativeBrownfield = {
6
+ popToNative: animated => {
7
+ if (Platform.OS === 'ios') {
8
+ ReactNativeBrownfieldModule.popToNative(animated);
9
+ } else if (Platform.OS === 'android') {
10
+ ReactNativeBrownfieldModule.popToNative();
11
+ } else {
12
+ console.warn('Not implemented: popToNative');
13
+ }
14
+ },
15
+ setNativeBackGestureAndButtonEnabled: enabled => {
16
+ if (Platform.OS === 'ios') {
17
+ ReactNativeBrownfieldModule.setPopGestureRecognizerEnabled(enabled);
18
+ } else if (Platform.OS === 'android') {
19
+ ReactNativeBrownfieldModule.setHardwareBackButtonEnabled(enabled);
20
+ } else {
21
+ console.warn('Not implemented: setNativeGesturesAndButtonsEnabled');
22
+ }
23
+ }
24
+ };
25
+ export default ReactNativeBrownfield;
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Platform","ReactNativeBrownfieldModule","ReactNativeBrownfield","popToNative","animated","OS","console","warn","setNativeBackGestureAndButtonEnabled","enabled","setPopGestureRecognizerEnabled","setHardwareBackButtonEnabled"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,OAAOC,2BAA2B,MAAM,oBAAoB;AAE5D,MAAMC,qBAAqB,GAAG;EAC5BC,WAAW,EAAGC,QAAkB,IAAW;IACzC,IAAIJ,QAAQ,CAACK,EAAE,KAAK,KAAK,EAAE;MACzBJ,2BAA2B,CAACE,WAAW,CAACC,QAAQ,CAAC;IACnD,CAAC,MAAM,IAAIJ,QAAQ,CAACK,EAAE,KAAK,SAAS,EAAE;MACpCJ,2BAA2B,CAACE,WAAW,CAAC,CAAC;IAC3C,CAAC,MAAM;MACLG,OAAO,CAACC,IAAI,CAAC,8BAA8B,CAAC;IAC9C;EACF,CAAC;EAEDC,oCAAoC,EAAGC,OAAgB,IAAW;IAChE,IAAIT,QAAQ,CAACK,EAAE,KAAK,KAAK,EAAE;MACzBJ,2BAA2B,CAACS,8BAA8B,CAACD,OAAO,CAAC;IACrE,CAAC,MAAM,IAAIT,QAAQ,CAACK,EAAE,KAAK,SAAS,EAAE;MACpCJ,2BAA2B,CAACU,4BAA4B,CAACF,OAAO,CAAC;IACnE,CAAC,MAAM;MACLH,OAAO,CAACC,IAAI,CAAC,qDAAqD,CAAC;IACrE;EACF;AACF,CAAC;AAED,eAAeL,qBAAqB","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,20 @@
1
+ import type { TurboModule } from 'react-native';
2
+ export interface Spec extends TurboModule {
3
+ /**
4
+ * Navigate back to the native part of the application.
5
+ */
6
+ popToNative(animated?: boolean): void;
7
+ /**
8
+ * Enable or disable the iOS swipe back gesture.
9
+ * @platform ios
10
+ */
11
+ setPopGestureRecognizerEnabled(enabled: boolean): void;
12
+ /**
13
+ * Enable or disable the Android hardware back button.
14
+ * @platform android
15
+ */
16
+ setHardwareBackButtonEnabled(enabled: boolean): void;
17
+ }
18
+ declare const _default: Spec;
19
+ export default _default;
20
+ //# sourceMappingURL=RNBrownfieldSpec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RNBrownfieldSpec.d.ts","sourceRoot":"","sources":["../../../src/RNBrownfieldSpec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC;;OAEG;IACH,WAAW,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAEtC;;;OAGG;IACH,8BAA8B,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAEvD;;;OAGG;IACH,4BAA4B,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;CACtD;;AAED,wBAA+E"}
@@ -0,0 +1,6 @@
1
+ declare const ReactNativeBrownfield: {
2
+ popToNative: (animated?: boolean) => void;
3
+ setNativeBackGestureAndButtonEnabled: (enabled: boolean) => void;
4
+ };
5
+ export default ReactNativeBrownfield;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,qBAAqB;6BACA,OAAO,KAAG,IAAI;oDAUS,OAAO,KAAG,IAAI;CAS/D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@callstack/react-native-brownfield",
3
- "version": "0.0.3",
3
+ "version": "1.0.0-rc.0",
4
4
  "license": "MIT",
5
5
  "author": "Michal Chudziak <mike.chudziak@callstack.com>",
6
6
  "contributors": [
@@ -8,11 +8,16 @@
8
8
  ],
9
9
  "homepage": "https://github.com/callstack/react-native-brownfield",
10
10
  "description": "Brownfield helpers for React Native",
11
- "main": "src/index.js",
11
+ "main": "lib/commonjs/index",
12
+ "module": "lib/module/index",
13
+ "types": "lib/typescript/src/index.d.ts",
14
+ "react-native": "src/index",
12
15
  "scripts": {
13
- "start": "react-native start --reset-cache",
14
- "flow": "flow",
15
- "lint": "eslint . --fix"
16
+ "lint": "eslint . --fix",
17
+ "typecheck": "tsc --noEmit",
18
+ "release": "release-it",
19
+ "prepare": "bob build",
20
+ "brownfield:plugin:publish:local": "bash ./gradle-plugins/publish-to-maven-local.sh"
16
21
  },
17
22
  "keywords": [
18
23
  "react-native-brownfield",
@@ -20,25 +25,128 @@
20
25
  "native",
21
26
  "react native integration"
22
27
  ],
28
+ "files": [
29
+ "src",
30
+ "lib",
31
+ "android",
32
+ "ios",
33
+ "cpp",
34
+ "*.podspec",
35
+ "!ios/build",
36
+ "!android/build",
37
+ "!android/gradle",
38
+ "!android/gradlew",
39
+ "!android/gradlew.bat",
40
+ "!android/local.properties",
41
+ "!**/__tests__",
42
+ "!**/__fixtures__",
43
+ "!**/__mocks__",
44
+ "!**/.*"
45
+ ],
23
46
  "publishConfig": {
24
47
  "access": "public"
25
48
  },
26
- "dependencies": {},
49
+ "resolutions": {
50
+ "@types/react": "19.0.0"
51
+ },
27
52
  "peerDependencies": {
28
53
  "react": "*",
29
54
  "react-native": "*"
30
55
  },
31
56
  "devDependencies": {
32
- "@babel/core": "7.4.5",
33
- "@babel/runtime": "7.4.5",
34
- "@react-native-community/eslint-config": "0.0.5",
35
- "babel-plugin-module-resolver": "3.1.3",
36
- "eslint": "6.0.1",
37
- "flow-bin": "0.98.0",
38
- "metro-react-native-babel-preset": "0.54.1",
39
- "react": "16.8.6",
40
- "react-native": "0.60.5",
41
- "react-native-gesture-handler": "1.4.1",
42
- "react-navigation": "3.11.0"
43
- }
57
+ "@babel/core": "^7.25.2",
58
+ "@babel/preset-env": "^7.25.3",
59
+ "@babel/runtime": "^7.25.0",
60
+ "@react-native/babel-preset": "0.78.0",
61
+ "@react-native/eslint-config": "0.78.0",
62
+ "@react-native/typescript-config": "0.78.0",
63
+ "@release-it/conventional-changelog": "^5.0.0",
64
+ "@types/jest": "^29.5.13",
65
+ "@types/react": "^19.0.0",
66
+ "@types/react-test-renderer": "^19.0.0",
67
+ "babel-plugin-module-resolver": "5.0.0",
68
+ "eslint": "^8.19.0",
69
+ "eslint-config-prettier": "^9.1.0",
70
+ "eslint-plugin-prettier": "^5.1.3",
71
+ "jest": "^29.6.3",
72
+ "prettier": "^3.5.3",
73
+ "react": "19.0.0",
74
+ "react-native": "0.78.0",
75
+ "react-native-builder-bob": "^0.37.0",
76
+ "react-test-renderer": "19.0.0",
77
+ "release-it": "^18.1.2",
78
+ "typescript": "5.0.4"
79
+ },
80
+ "release-it": {
81
+ "git": {
82
+ "commitMessage": "chore: release ${version}",
83
+ "tagName": "v${version}"
84
+ },
85
+ "npm": {
86
+ "publish": true
87
+ },
88
+ "github": {
89
+ "release": true
90
+ },
91
+ "plugins": {
92
+ "@release-it/conventional-changelog": {
93
+ "preset": "angular"
94
+ }
95
+ }
96
+ },
97
+ "eslintConfig": {
98
+ "root": true,
99
+ "extends": [
100
+ "@react-native",
101
+ "prettier"
102
+ ],
103
+ "plugins": [
104
+ "prettier"
105
+ ],
106
+ "rules": {
107
+ "prettier/prettier": [
108
+ "error",
109
+ {
110
+ "quoteProps": "consistent",
111
+ "singleQuote": true,
112
+ "tabWidth": 2,
113
+ "trailingComma": "es5",
114
+ "useTabs": false
115
+ }
116
+ ]
117
+ }
118
+ },
119
+ "codegenConfig": {
120
+ "name": "RNBrownfieldSpec",
121
+ "type": "modules",
122
+ "jsSrcsDir": "src",
123
+ "android": {
124
+ "javaPackageName": "com.callstack.reactnativebrownfield"
125
+ }
126
+ },
127
+ "prettier": {
128
+ "quoteProps": "consistent",
129
+ "singleQuote": true,
130
+ "tabWidth": 2,
131
+ "trailingComma": "es5",
132
+ "useTabs": false
133
+ },
134
+ "react-native-builder-bob": {
135
+ "source": "src",
136
+ "output": "lib",
137
+ "targets": [
138
+ "commonjs",
139
+ "module",
140
+ [
141
+ "typescript",
142
+ {
143
+ "project": "tsconfig.build.json"
144
+ }
145
+ ]
146
+ ]
147
+ },
148
+ "engines": {
149
+ "node": ">=18"
150
+ },
151
+ "packageManager": "yarn@3.6.4"
44
152
  }
@@ -0,0 +1,23 @@
1
+ import type { TurboModule } from 'react-native';
2
+ import { TurboModuleRegistry } from 'react-native';
3
+
4
+ export interface Spec extends TurboModule {
5
+ /**
6
+ * Navigate back to the native part of the application.
7
+ */
8
+ popToNative(animated?: boolean): void;
9
+
10
+ /**
11
+ * Enable or disable the iOS swipe back gesture.
12
+ * @platform ios
13
+ */
14
+ setPopGestureRecognizerEnabled(enabled: boolean): void;
15
+
16
+ /**
17
+ * Enable or disable the Android hardware back button.
18
+ * @platform android
19
+ */
20
+ setHardwareBackButtonEnabled(enabled: boolean): void;
21
+ }
22
+
23
+ export default TurboModuleRegistry.getEnforcing<Spec>('ReactNativeBrownfield');
@@ -1,12 +1,12 @@
1
- /* @flow */
2
- import {NativeModules, Platform} from 'react-native';
1
+ import { Platform } from 'react-native';
2
+ import ReactNativeBrownfieldModule from './RNBrownfieldSpec';
3
3
 
4
- module.exports = {
4
+ const ReactNativeBrownfield = {
5
5
  popToNative: (animated?: boolean): void => {
6
6
  if (Platform.OS === 'ios') {
7
- NativeModules.ReactNativeBrownfield.popToNative(animated);
7
+ ReactNativeBrownfieldModule.popToNative(animated);
8
8
  } else if (Platform.OS === 'android') {
9
- NativeModules.ReactNativeBrownfield.popToNative();
9
+ ReactNativeBrownfieldModule.popToNative();
10
10
  } else {
11
11
  console.warn('Not implemented: popToNative');
12
12
  }
@@ -14,13 +14,13 @@ module.exports = {
14
14
 
15
15
  setNativeBackGestureAndButtonEnabled: (enabled: boolean): void => {
16
16
  if (Platform.OS === 'ios') {
17
- NativeModules.ReactNativeBrownfield.setPopGestureRecognizerEnabled(
18
- enabled,
19
- );
17
+ ReactNativeBrownfieldModule.setPopGestureRecognizerEnabled(enabled);
20
18
  } else if (Platform.OS === 'android') {
21
- NativeModules.ReactNativeBrownfield.setHardwareBackButtonEnabled(enabled);
19
+ ReactNativeBrownfieldModule.setHardwareBackButtonEnabled(enabled);
22
20
  } else {
23
21
  console.warn('Not implemented: setNativeGesturesAndButtonsEnabled');
24
22
  }
25
23
  },
26
24
  };
25
+
26
+ export default ReactNativeBrownfield;
package/.eslintrc.js DELETED
@@ -1,6 +0,0 @@
1
- module.exports = {
2
- extends: '@react-native-community',
3
- env: {
4
- es6: true
5
- }
6
- }
package/.flowconfig DELETED
@@ -1,100 +0,0 @@
1
- [ignore]
2
- ; We fork some components by platform
3
- .*/*[.]android.js
4
-
5
- ; Ignore "BUCK" generated dirs
6
- <PROJECT_ROOT>/\.buckd/
7
-
8
- ; Ignore unexpected extra "@providesModule"
9
- .*/node_modules/.*/node_modules/fbjs/.*
10
-
11
- ; Ignore duplicate module providers
12
- ; For RN Apps installed via npm, "Libraries" folder is inside
13
- ; "node_modules/react-native" but in the source repo it is in the root
14
- node_modules/react-native/Libraries/react-native/React.js
15
-
16
- ; Ignore polyfills
17
- node_modules/react-native/Libraries/polyfills/.*
18
-
19
- ; These should not be required directly
20
- ; require from fbjs/lib instead: require('fbjs/lib/warning')
21
- node_modules/warning/.*
22
-
23
- ; Flow doesn't support platforms
24
- .*/Libraries/Utilities/HMRLoadingView.js
25
-
26
- [untyped]
27
- .*/node_modules/@react-native-community/cli/.*/.*
28
-
29
- [include]
30
-
31
- [libs]
32
- node_modules/react-native/Libraries/react-native/react-native-interface.js
33
- node_modules/react-native/flow/
34
-
35
- [options]
36
- emoji=true
37
-
38
- esproposal.optional_chaining=enable
39
- esproposal.nullish_coalescing=enable
40
-
41
- module.file_ext=.js
42
- module.file_ext=.json
43
- module.file_ext=.ios.js
44
-
45
- module.system=haste
46
- module.system.haste.use_name_reducers=true
47
- # get basename
48
- module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
49
- # strip .js or .js.flow suffix
50
- module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
51
- # strip .ios suffix
52
- module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
53
- module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
54
- module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
55
- module.system.haste.paths.blacklist=.*/__tests__/.*
56
- module.system.haste.paths.blacklist=.*/__mocks__/.*
57
- module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
58
- module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/RNTester/.*
59
- module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/IntegrationTests/.*
60
- module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation.js
61
- module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
62
-
63
- munge_underscores=true
64
-
65
- module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
66
- module.name_mapper='^\@react-native-community/slider\(.*\)$' -> '<PROJECT_ROOT>/js/Slider.js\1'
67
-
68
- suppress_type=$FlowIssue
69
- suppress_type=$FlowFixMe
70
- suppress_type=$FlowFixMeProps
71
- suppress_type=$FlowFixMeState
72
-
73
- suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
74
- suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
75
- suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
76
-
77
- [lints]
78
- sketchy-null-number=warn
79
- sketchy-null-mixed=warn
80
- sketchy-number=warn
81
- untyped-type-import=warn
82
- nonstrict-import=warn
83
- deprecated-type=warn
84
- unsafe-getters-setters=warn
85
- inexact-spread=warn
86
- unnecessary-invariant=warn
87
- signature-verification-failure=warn
88
- deprecated-utility=error
89
-
90
- [strict]
91
- deprecated-type
92
- nonstrict-import
93
- sketchy-null
94
- unclear-type
95
- unsafe-getters-setters
96
- untyped-import
97
- untyped-type-import
98
-
99
- [version]
100
- ^0.98.0
@@ -1,73 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at [oss@callstack.io](mailto:oss@callstack.io). All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at https://www.contributor-covenant.org/version/1/4/code-of-conduct/
72
-
73
- [homepage]: https://www.contributor-covenant.org
File without changes
File without changes
File without changes
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding" addBOMForNewFiles="with NO BOM" />
4
- </project>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="GradleSettings">
4
- <option name="linkedExternalProjectsSettings">
5
- <GradleProjectSettings>
6
- <option name="distributionType" value="DEFAULT_WRAPPED" />
7
- <option name="externalProjectPath" value="$PROJECT_DIR$" />
8
- <option name="resolveModulePerSourceSet" value="false" />
9
- </GradleProjectSettings>
10
- </option>
11
- </component>
12
- </project>
@@ -1,14 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="CMakeSettings">
4
- <configurations>
5
- <configuration PROFILE_NAME="Debug" CONFIG_NAME="Debug" />
6
- </configurations>
7
- </component>
8
- <component name="ProjectRootManager">
9
- <output url="file://$PROJECT_DIR$/build/classes" />
10
- </component>
11
- <component name="ProjectType">
12
- <option name="id" value="Android" />
13
- </component>
14
- </project>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="RunConfigurationProducerService">
4
- <option name="ignoredProducers">
5
- <set>
6
- <option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
7
- <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
8
- <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
9
- </set>
10
- </option>
11
- </component>
12
- </project>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
5
- </component>
6
- </project>