npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ajman-rating-package

v1.0.3

Published

Plugin made on React Native purely for Ajman App

Downloads

21

Readme

customised-rating-package

Plugin made on React Native purely for Ajman App

🔧 Install

customised-rating-package is available on npm. It can be installed with the following command:

npm install customised-rating-package --save

customised-rating-package is available on yarn as well. It can be installed with the following command:

yarn add customised-rating-package

Usage

import {FloatingRating} from 'customised-rating-package';

export default function App() {
  return (
        <FloatingRating lang={1} isMaleUser={false} isDev={true} dept={"pol"} 
         fontEnglish={"SEGOEUI"} fontArabic={"Product Sans Italic"} />
  );
}

# For Language:
1 for English, 2 for Arabic, 3 for Urdu

# For isMaleUser:
For male=true, female=false

# For isDev:
For production=false, development=true

# For dept:
Enter the short code of department like "pol" for police

#For fontEnglish
Enter the font you want to use for English Language

#For fontArabic
Enter the font you want to use for Arabic/Urdu Language

Dependencies

Create a file with .sh extension on the root directory of the project and copy/paste the following lines in the file. [like install-depencies.sh]

# For install packages and android node_modules
yarn add customised-rating-package @react-native-async-storage/async-storage @react-native-community/checkbox @react-native-community/[email protected] @react-navigation/[email protected] @react-navigation/[email protected] @sayem314/[email protected] react-native-audio-recorder-player [email protected] react-native-circular-progress react-native-device-info react-native-document-picker react-native-fs react-native-image-picker react-native-mov-to-mp4 react-native-pdf react-native-permissions react-native-safe-area-context react-native-screens react-native-star-rating react-native-vector-icons react-native-video react-redux redux redux-logger redux-thunk redux-persist 
# For installing ios dependencies
cd ios && pod install
# Returning to previous folder
cd ..

now run the file using the following command

sh filename.sh and press enter ↵

❗ Issues

If you think any of the customised-rating-package can be improved, please write an email at [email protected] with the required feature.

✨ Integration

React-native-blob-util

If react-native-blob-util exists then good, if react-native-blob exist delete it & install this one

Add Kotlin dependency in android/build.gradle

ext {
kotlinVersion = '1.5.0'
}

Also include this

dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" //add this for rating plugin
}

For the gif animation in android, add this line as well in android/app/build.gradle

dependencies {
    implementation 'com.facebook.fresco:animated-gif:2.x.x'
    }

If Android shows white screen, 
	1- delete node modules & re-install again
	2- do Gradlew clean and then run app

If audio doesn’t work in in iOS, we have to create a bridging header first. For more info: https://riptutorial.com/ios/example/32537/how-to-create-a-swift-bridging-header-manually