{"id":43687786,"url":"https://github.com/NathanWalker/nativescript-loading-indicator","last_synced_at":"2026-02-16T13:01:50.372Z","repository":{"id":57308598,"uuid":"43339659","full_name":"NathanWalker/nativescript-loading-indicator","owner":"NathanWalker","description":"Progress/Loading indicator with options for NativeScript. iOS + Android. ","archived":false,"fork":false,"pushed_at":"2025-09-15T20:47:12.000Z","size":3214,"stargazers_count":111,"open_issues_count":7,"forks_count":41,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-01-31T15:21:10.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NathanWalker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-09-29T02:21:12.000Z","updated_at":"2025-08-29T19:33:45.000Z","dependencies_parsed_at":"2022-08-28T23:12:49.042Z","dependency_job_id":null,"html_url":"https://github.com/NathanWalker/nativescript-loading-indicator","commit_stats":null,"previous_names":["pocketsmith/nativescript-loading-indicator"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/NathanWalker/nativescript-loading-indicator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanWalker%2Fnativescript-loading-indicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanWalker%2Fnativescript-loading-indicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanWalker%2Fnativescript-loading-indicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanWalker%2Fnativescript-loading-indicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NathanWalker","download_url":"https://codeload.github.com/NathanWalker/nativescript-loading-indicator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanWalker%2Fnativescript-loading-indicator/sbom","scorecard":{"id":99169,"data":{"date":"2025-08-11","repo":{"name":"github.com/NathanWalker/nativescript-loading-indicator","commit":"7846641ec3f8fca94c0914281d9fe368ae71674f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Code-Review","score":3,"reason":"Found 4/11 approved changesets -- score normalized to 3","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":"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":"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":"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":"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: npmCommand not pinned by hash: publish/pack.sh:10","Info:   0 out of   1 npmCommand dependencies pinned"],"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":"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":"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: Apache License 2.0: 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 25 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-15T09:46:36.612Z","repository_id":57308598,"created_at":"2025-08-15T09:46:36.612Z","updated_at":"2025-08-15T09:46:36.612Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29508735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: 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":"2026-02-05T03:00:21.768Z","updated_at":"2026-02-16T13:01:50.366Z","avatar_url":"https://github.com/NathanWalker.png","language":"TypeScript","readme":"\u003ch1 align=\"center\"\u003e** DEPRECATION NOTICE **\u003c/h1\u003e\n\n## Package has been deprecated as of July 11th, 2019.\n\nPlease use the version published [by nStudio](https://github.com/nstudio/nativescript-loading-indicator).\n\n### Installation:\n\n`tns plugin add @nstudio/nativescript-loading-indicator`\n\n\u003chr\u003e\n\n\u003ca align=\"center\" href=\"https://www.npmjs.com/package/nativescript-loading-indicator\"\u003e\n    \u003ch3 align=\"center\"\u003eNativeScript Loading Indicator\u003c/h3\u003e\n\u003c/a\u003e\n\u003ch4 align=\"center\"\u003e\nNativeScript-Loading-Indicator is a plugin for NativeScript which overlays a loading indicator on the current page. Can be used, for example, to prevent the UI being interacted with while data is being fetched from an API, while informing the user that something is happening.\n\u003c/h4\u003e\n\n## Installation\n\n```bash\ntns plugin add nativescript-loading-indicator\n```\n\n## Example\n\n#### TypeScript\n\n```typescript\nimport {\n  LoadingIndicator,\n  Mode,\n  OptionsCommon\n} from 'nativescript-loading-indicator';\n\nconst indicator = new LoadingIndicator();\n\nconst options: OptionsCommon = {\n  message: 'Loading...',\n  details: 'Additional detail note!',\n  progress: 0.65,\n  margin: 10,\n  dimBackground: true,\n  color: '#4B9ED6', // color of indicator and labels\n  // background box around indicator\n  // hideBezel will override this if true\n  backgroundColor: 'yellow',\n  userInteractionEnabled: false, // default true. Set false so that the touches will fall through it.\n  hideBezel: true, // default false, can hide the surrounding bezel\n  mode: Mode.AnnularDeterminate, // see options below\n  android: {\n    view: someStackLayout.android, // Target view to show on top of (Defaults to entire window)\n    cancelable: true,\n    cancelListener: function(dialog) {\n      console.log('Loading cancelled');\n    }\n  },\n  ios: {\n    view: someButton.ios, // Target view to show on top of (Defaults to entire window)\n    square: false\n  }\n};\n\nindicator.show(options);\n\n// after some async event maybe or a timeout hide the indicator\nindicator.hide();\n```\n\n#### javascript\n\n```js\nconst LoadingIndicator = require('nativescript-loading-indicator')\n  .LoadingIndicator;\nconst Mode = require('nativescript-loading-indicator').Mode;\n\nconst loader = new LoadingIndicator();\n\n// optional options\n// android and ios have some platform specific options\nconst options = {\n  message: 'Loading...',\n  details: 'Additional detail note!',\n  progress: 0.65,\n  margin: 10,\n  dimBackground: true,\n  color: '#4B9ED6', // color of indicator and labels\n  // background box around indicator\n  // hideBezel will override this if true\n  backgroundColor: 'yellow',\n  userInteractionEnabled: false, // default true. Set false so that the touches will fall through it.\n  hideBezel: true, // default false, can hide the surrounding bezel\n  mode: Mode.AnnularDeterminate, // see options below\n  android: {\n    view: android.view.View, // Target view to show on top of (Defaults to entire window)\n    cancelable: true,\n    cancelListener: function(dialog) {\n      console.log('Loading cancelled');\n    }\n  },\n  ios: {\n    view: UIView // Target view to show on top of (Defaults to entire window)\n  }\n};\n\nloader.show(options); // options is optional\n\n// Do whatever it is you want to do while the loader is showing, then\n\nloader.hide();\n```\n\n### Common Options\n\n```typescript\nexport interface OptionsCommon {\n  /**\n   * Message in the loading indicator.\n   */\n  message?: string;\n\n  /**\n   * Details message in the loading indicator.\n   */\n  details?: string;\n\n  /**\n   * Color of the message text.\n   */\n  color?: string;\n\n  /**\n   * Background color of the loading indicator.\n   */\n  backgroundColor?: string;\n\n  /**\n   * Progress of the indicator when not using CustomView or Text Mode.\n   */\n  progress?: number;\n\n  /**\n   * Margin for the message/indicator to the edge of the bezel.\n   */\n  margin?: number;\n\n  /**\n   * Set true to allow user interaction.\n   */\n  userInteractionEnabled?: boolean;\n\n  /**\n   * Dim the background behind the indicator.\n   */\n  dimBackground?: boolean;\n\n  /**\n   * Hide bezel around indicator\n   */\n  hideBezel?: boolean;\n\n  /**\n   * The mode of the loading indicator.\n   */\n  mode?: Mode;\n\n  /**\n   * If `mode` is set to CustomView, then you can pass an image or view to show in the loading indicator.\n   */\n  customView?: any;\n\n  /**\n   * iOS specific configuration options.\n   */\n  ios?: OptionsIOS;\n\n  /**\n   * Android specific configuration options.\n   */\n  android?: OptionsAndroid;\n}\n```\n\n#### Android Specific\n\n```typescript\nexport interface OptionsAndroid {\n  /**\n   * Native View instance to anchor the loading indicator to.\n   */\n  view?: android.view.View;\n  max?: number;\n  progressNumberFormat?: string;\n  progressPercentFormat?: number;\n  progressStyle?: number;\n  secondaryProgress?: number;\n  cancelable?: boolean;\n  cancelListener?: (dialog: any) =\u003e void;\n  elevation?: number;\n}\n```\n\n#### iOS Specific\n\n```typescript\nexport interface OptionsIOS {\n  /**\n   * Native View instance to anchor the loading indicator to.\n   */\n  view?: UIView;\n  square?: boolean;\n}\n```\n\n### Mode Enum\n\n```typescript\nexport enum Mode {\n  Indeterminate = 0,\n  Determinate = 1,\n  DeterminateHorizontalBar = 2,\n  AnnularDeterminate = 3,\n  CustomView = 4,\n  Text = 5\n}\n```\n","funding_links":[],"categories":["Awesome {N} [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)"],"sub_categories":["Table of Contents"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNathanWalker%2Fnativescript-loading-indicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNathanWalker%2Fnativescript-loading-indicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNathanWalker%2Fnativescript-loading-indicator/lists"}