@react-native-community/progress-bar-android
Advanced tools
Comparing version 1.0.1-beta.1 to 1.0.1-beta.3
{ | ||
"name": "@react-native-community/progress-bar-android", | ||
"version": "1.0.1-beta.1", | ||
"version": "1.0.1-beta.3", | ||
"description": "Progress Bar component for React Native", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"scripts": { | ||
@@ -29,3 +30,5 @@ "start": "node node_modules/react-native/local-cli/cli.js start", | ||
"js", | ||
"index.js" | ||
"index.js", | ||
"index.d.ts", | ||
"react-native-progress-bar-android.podspec" | ||
], | ||
@@ -47,2 +50,3 @@ "author": "Wagner Maciel <wagnermaciel@google.com>", | ||
"@react-native-community/eslint-config": "0.0.5", | ||
"@types/react": "^16.9.17", | ||
"babel-jest": "^24.9.0", | ||
@@ -57,3 +61,4 @@ "babel-plugin-module-resolver": "^3.2.0", | ||
"react-native": "^0.61.5", | ||
"react-test-renderer": "16.8.3" | ||
"react-test-renderer": "16.8.3", | ||
"typescript": "^3.7.4" | ||
}, | ||
@@ -60,0 +65,0 @@ "jest": { |
# @react-native-community/progress-bar-android | ||
[![Build Status][build-badge]][build] | ||
[![Version][version-badge]][package] | ||
![Supports Android][support-badge] | ||
[![MIT License][license-badge]][license] | ||
[![Lean Core Badge][lean-core-badge]][lean-core-issue] | ||
@@ -34,2 +38,13 @@ | ||
- `react-native >= 0.60` | ||
The package is [automatically linked](https://github.com/react-native-community/cli/blob/master/docs/autolinking.md) when building the app. All you need to do is: | ||
``` ``` | ||
cd ios && pod install | ||
``` ``` | ||
- `react-native < 0.59` | ||
Run the following commands | ||
`$ react-native link @react-native-community/progress-bar-android` | ||
@@ -39,12 +54,15 @@ | ||
<details> | ||
<summary>Manually linking the library - iOS</summary> | ||
#### iOS | ||
1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]` | ||
2. Go to `node_modules` ➜ `@react-native-community/progress-bar-android` and add `RNCAndroidprogressbar.xcodeproj` | ||
3. In XCode, in the project navigator, select your project. Add `libRNCAndroidprogressbar.a` to your project's `Build Phases` ➜ `Link Binary With Libraries` | ||
4. Run your project (`Cmd+R`)< | ||
4. Run your project (`Cmd+R`) | ||
#### Android | ||
</details> | ||
<details> | ||
<summary>Manually link the library - android</summary> | ||
1. Open up `android/app/src/main/java/[...]/MainActivity.java` | ||
@@ -63,2 +81,3 @@ - Add `import com.reactnativecommunity.androidprogressbar.RNCAndroidprogressbarPackage;` to the imports at the top of the file | ||
</details> | ||
@@ -81,3 +100,10 @@ ## Usage | ||
[build-badge]: https://img.shields.io/circleci/project/github/react-native-community/react-native-progress-bar-android/master.svg?style=flat-square | ||
[build]: https://circleci.com/gh/react-native-community/react-native-progress-bar-android | ||
[version-badge]: https://img.shields.io/npm/v/@react-native-community/progress-bar-android.svg?style=flat-square | ||
[package]: https://www.npmjs.com/package/@react-native-community/progress-bar-android | ||
[support-badge]:https://img.shields.io/badge/platforms-android-lightgrey.svg?style=flat-square | ||
[license-badge]: https://img.shields.io/npm/l/@react-native-community/progress-bar-android.svg?style=flat-square | ||
[license]: https://opensource.org/licenses/MIT | ||
[lean-core-badge]: https://img.shields.io/badge/Lean%20Core-Extracted-brightgreen.svg?style=flat-square | ||
[lean-core-issue]: https://github.com/facebook/react-native/issues/23313 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36912
35
181
105
15
2