{"id":33027412,"url":"https://github.com/greatbsky/react-native-pull","last_synced_at":"2026-02-06T04:11:42.621Z","repository":{"id":57339267,"uuid":"64208050","full_name":"greatbsky/react-native-pull","owner":"greatbsky","description":"PullView \u0026 PullList component in React Native both for Android and iOS, pull to refresh, very useful \u0026 easily","archived":false,"fork":false,"pushed_at":"2019-02-21T07:10:02.000Z","size":55,"stargazers_count":371,"open_issues_count":24,"forks_count":75,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-09-30T19:16:05.587Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/greatbsky.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":"2016-07-26T09:21:29.000Z","updated_at":"2025-09-05T06:16:07.000Z","dependencies_parsed_at":"2022-09-16T07:41:43.462Z","dependency_job_id":null,"html_url":"https://github.com/greatbsky/react-native-pull","commit_stats":null,"previous_names":["greatbsky/react-native-pullview"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/greatbsky/react-native-pull","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greatbsky%2Freact-native-pull","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greatbsky%2Freact-native-pull/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greatbsky%2Freact-native-pull/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greatbsky%2Freact-native-pull/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greatbsky","download_url":"https://codeload.github.com/greatbsky/react-native-pull/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greatbsky%2Freact-native-pull/sbom","scorecard":{"id":444340,"data":{"date":"2025-08-11","repo":{"name":"github.com/greatbsky/react-native-pull","commit":"eb8fef1ad5fac8b73cfccb77af2da8be6da96629"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 2/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T06:19:05.755Z","repository_id":57339267,"created_at":"2025-08-19T06:19:05.756Z","updated_at":"2025-08-19T06:19:05.756Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29149978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-11-13T20:00:42.297Z","updated_at":"2026-02-06T04:11:42.614Z","avatar_url":"https://github.com/greatbsky.png","language":"JavaScript","readme":"﻿# react-native-pull\n\n[![reactnative Version](https://img.shields.io/badge/reactnative-V0.42.0%2B-brightgreen.svg)](http://facebook.github.io/react-native/versions.html)\n[![NPM Version](https://img.shields.io/npm/v/react-native-pull.svg?style=flat-square)](https://www.npmjs.com/package/react-native-pull)\n[![NPM Downloads](https://img.shields.io/npm/dm/react-native-pull.svg?style=flat-square)](https://www.npmjs.com/package/react-native-pull)\n[![GitHub issues](https://img.shields.io/github/issues/greatbsky/react-native-pull.svg)](https://github.com/greatbsky/react-native-pull/issues)\n[![GitHub stars](https://img.shields.io/github/stars/greatbsky/react-native-pull.svg)](https://github.com/greatbsky/react-native-pull/stargazers)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/greatbsky/react-native-pull/master/LICENSE)\n[![Twitter](https://img.shields.io/twitter/url/https/github.com/greatbsky/react-native-pull.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:\u0026url=%5Bobject%20Object%5D)\n\nAnnouncement: Due to work changed, I have no more time to maintain the project. I suggest that you need to directly integrate the code and customize the changes. Sorry...\n\n  This is  the `PullView` \u0026 `PullList` component in React Native both for Android and iOS, pull to refresh, very useful \u0026amp; easily \u0026amp; quickly!\n\n  This is a JavaScript-only implementation of `PullView` \u0026 `PullList` in React Native. `PullView` can host multiple components and views like `ScrollView`, `PullList` can efficient display of vertically scrolling lists of changing data like `ListView`. Better than ScrollView \u0026 ListView  in Android, this `PullView` \u0026 `PullList` can be pull down, then show top indicator, the top indicator have three state: **pulling**, **pullok**, **pullrelease**. And more, `PullView` also can make you use refreshControl to provide pull-to-refresh same as scrollview. `PullList` also can make you use any props like ListView. You also can design yourself topIndicator with animation during the process of pulling or pushing using function `topIndicatorRender` and `onPushing`.\n\n`PullView` \u0026 `PullList` demo project: https://github.com/greatbsky/react-native-pull-demo\n\n## `PullView` Demo\n\n  ![](https://raw.githubusercontent.com/greatbsky/react-native-pull-demo/master/PullViewDemo/image/demo.gif)\n\n## `PullView` Usage\n  1. Run `npm install react-native-pull@latest --save`\n  2. Code like this:\n  ```\n  import {PullView} from 'react-native-pull';\n\n  onPullRelease(resolve) {\n    //do something\n    setTimeout(() =\u003e {\n            resolve();\n        }, 3000);\n  }\n\n  \u003cPullView onPullRelease={this.onPullRelease}\u003e\n    //\u003cChildren /\u003e\n  \u003c/PullView\u003e\n  ```\n  3. Full demo code: https://github.com/greatbsky/react-native-pull-demo/blob/master/PullViewDemo/app.js\n\n\n## `PullList` Demo\n\n  ![](https://raw.githubusercontent.com/greatbsky/react-native-pull-demo/master/PullListDemo/image/demo.gif)\n\n## `PullList` Usage\n  1. Run `npm install react-native-pull@latest --save`\n  2. Code like this:\n  ```\n    import {PullList} from 'react-native-pull';\n\n    onPullRelease(resolve) {\n      //do something\n      setTimeout(() =\u003e {\n            resolve();\n        }, 3000);\n    }\n\n    \u003cPullList onPullRelease={this.onPullRelease} {...and some ListView Props}/\u003e\n  ```\n  3. Full demo code: https://github.com/greatbsky/react-native-pull-demo/blob/master/PullListDemo/app.js\n\n\n## `PullView` \u0026 `PullList`  configuration\n\n**Pull down props for `PullView` \u0026amp; `PullList`**\n\n  * **`style`**: stylesheet of component, set width/height/flex/backgroudColor... etc\n  * **`onPulling`**: handle function when `pulling`\n  * **`onPullOk`**: handle function when `pullok`\n  * **`onPullRelease`**: handle function when `pullrelease`, access 1 argument: `resolve`. You should invoke `resolve()` in the end.\n  * **`topIndicatorRender`**: top indicator render function, access 4 argument: `ispulling`, `ispullok`, `ispullrelease`, `gesturePosition`. you can design yourself topIndicator with animation when pulling using `gesturePosition`.\n  * **`topIndicatorHeight`**: top indicator height, require if define topIndicatorRender\n  * **`isPullEnd`**: whether release pull, if true, will hide top indicator, not require\n\n**Push up props for `PullView` \u0026amp; `PullList`**\n\n  * **`onPushing`**: handle function when pushing up, access 1 argument: `gesturePosition`. gesturePosition contain value {x,y}. gesturePosition.y \u003e 0 when pulling down, gesturePosition.y \u003c 0 when pushing up.\n\n**Just for `PullView`, refreshcontrol props** support onRefresh \u0026 refreshing if you want to use refreshcontrol like scrollview.\n\n  * **`onRefresh`**: Called when the view starts refreshing\n  * **`refreshing`**: Whether the view should be indicating an active refresh.\n\n## Licensed\n  MIT License\n\n# 中文说明请参见\n\n  https://github.com/greatbsky/react-native-pull/wiki\n","funding_links":[],"categories":["组件"],"sub_categories":["ListView\u0026ScrollView"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreatbsky%2Freact-native-pull","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreatbsky%2Freact-native-pull","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreatbsky%2Freact-native-pull/lists"}