{"id":4238,"url":"https://github.com/nucleartux/react-native-circle-view","last_synced_at":"2025-08-04T00:32:37.579Z","repository":{"id":57336071,"uuid":"43398691","full_name":"nucleartux/react-native-circle-view","owner":"nucleartux","description":"circle progress bar for react native android using circle-view","archived":true,"fork":false,"pushed_at":"2016-06-02T21:23:12.000Z","size":14,"stargazers_count":38,"open_issues_count":5,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-16T17:53:27.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nucleartux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-29T22:45:14.000Z","updated_at":"2023-05-02T15:39:44.000Z","dependencies_parsed_at":"2022-09-11T05:42:10.564Z","dependency_job_id":null,"html_url":"https://github.com/nucleartux/react-native-circle-view","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleartux%2Freact-native-circle-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleartux%2Freact-native-circle-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleartux%2Freact-native-circle-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleartux%2Freact-native-circle-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nucleartux","download_url":"https://codeload.github.com/nucleartux/react-native-circle-view/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228576898,"owners_count":17939645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:17:05.463Z","updated_at":"2024-12-07T07:31:32.856Z","avatar_url":"https://github.com/nucleartux.png","language":"Java","funding_links":[],"categories":["Components","Others"],"sub_categories":["UI"],"readme":"# react-native-circle-view\ncircle progress bar for react native android using circle-view\n\n## Installation and How to use\n\n#### Step 1 - NPM Install\n\n```shell\nnpm install --save react-native-circle-view\n```\n#### Step 2 - Update Gradle Settings\n\n```gradle\n// file: android/settings.gradle\n...\n\ninclude ':reactcircleview', ':app'\nproject(':reactcircleview').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-circle-view')\n```\n\n#### Step 3 - Update android Gradle Build\n\n```gradle\n// file: android/build.gradle\nallprojects {\n    repositories {\n        ...\n        maven { url \"https://jitpack.io\" }\n    }\n}\n```\n\n#### Step 4 - Update app Gradle Build\n\n```gradle\n// file: android/app/build.gradle\n...\n\ndependencies {\n    ...\n    compile project(':reactcircleview')\n}\n```\n\n#### Step 5 - Register React Package\n\n```java\n...\nimport me.nucleartux.circleview.ReactCircleViewPackage; // import\n\npublic class MainActivity extends Activity implements DefaultHardwareBackBtnHandler {\n\n    private ReactInstanceManager mReactInstanceManager;\n    private ReactRootView mReactRootView;\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        mReactRootView = new ReactRootView(this);\n        mReactInstanceManager = ReactInstanceManager.builder()\n                .setApplication(getApplication())\n                .setBundleAssetName(\"index.android.bundle\")\n                .setJSMainModuleName(\"index.android\")\n                .addPackage(new MainReactPackage())\n                .addPackage(new ReactCircleViewPackage()) // register react circleview package here\n                .setUseDeveloperSupport(BuildConfig.DEBUG)\n                .setInitialLifecycleState(LifecycleState.RESUMED)\n                .build();\n        mReactRootView.startReactApplication(mReactInstanceManager, \"AwesomeProject\", null);\n        setContentView(mReactRootView);\n    }\n...\n\n```\n\n#### Step 6 - Require and use in Javascript\n\n```js\n// file: index.android.js\n\nvar React = require('react-native');\nvar CircleProgressView = require('react-native-circle-view');\nvar { AppRegistry,StyleSheet,Text,View } = React;\n\nvar AwesomeProject = React.createClass({\n    render: function() {\n        return (\n            \u003cView style={styles.container}\u003e\n                \u003cCircleProgressView\n                  style={styles.progress}\n                  сontourColor=\"#f4f4f4\"\n                  rimColor=\"#f4f4f4\"\n                  barColor={[\"#15e064\", \"#17aecc\", \"#15e064\"]}\n                  value={90}\n                  maxValue={100}\n                  сontourSize={280}\n                  rimWidth={120}\n                  barWidth={100}\n                /\u003e\n            \u003c/View\u003e\n        );\n    }\n});\n\nvar styles = StyleSheet.create({\n  progress: {\n    width: 250,\n    height: 250\n  },\n  container: {\n    flex: 1,\n    justifyContent: 'center',\n    alignItems: 'center',\n    backgroundColor: '#F5FCFF',\n  }\n});\n\nAppRegistry.registerComponent('AwesomeProject', () =\u003e AwesomeProject);\n```\n\n## Credits\n\n- [Circle-Progress-View](https://github.com/jakob-grabner/Circle-Progress-View)\n\n## Notes\n- Please report any issues or send patches to get fixes in\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleartux%2Freact-native-circle-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnucleartux%2Freact-native-circle-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleartux%2Freact-native-circle-view/lists"}