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

btaskee-sdk-src-booking-rn

v1.12.0-beta-0.1.3

Published

test

Downloads

321

Readme

btaskee-sdk-src-booking-rn

PRs Welcome License MIT

Installation

App requires Node.js v13+ to run.

Using npm:

npm reset

Using yarn:

yarn reset

Run

On IOS On Android

Start Server

Server Asker (start MongoDB and API testing).

Clone https://bitbucket.org/lanterns/unicorn-asker/src/feature-mockAPI/ branch feature-mockAPI Start server

npm start
Server Golang (start API)

Clone https://gitlab.com/btaskee/go-testing-app-asker branch master Start server

./run-service.sh

Troubleshooting

When installing or runing app, you may encounter the following problems: Not connected with server Edit file dev.env with key

  • SERVER_API_IP=[my ip]
  • AUTH_CODE=[authentication code of mini app]
  • FROM_PARTNER=[from parent app]
npm install btaskee-sdk-src-booking-rn

Usage


IMPORT
import { BtaskeeSDKBooking } from 'btaskee-sdk-src-booking-rn';

RENDER

return (
        <BtaskeeSDKBooking 
            params={{
                id_service: id_service,   //  default is '636211053a8feeea7ee24769'
                userInfor: {
                    name: "test",   // username on the app or the name in the btaskee system
                    phone: "0123456789",  // the phone number on the app or the phone number in the btaskee system
                    address: {  // the address provided on the application or the address already in the btaskee system
                      address: "Đường Nguyễn Huệ, Bến Nghé, Quận 1, Thành phố Hồ Chí Minh, Việt Nam",
                      city: "Hồ Chí Minh",
                      country: "VN",
                      district: "Quận 1",
                      lat: 10.7740739,
                      lng: 106.703627,
                      shortAddress: "Đường Nguyễn Huệ Bến Nghé",
                    }
                },
            }}
            navigator={navigator} //  navigator to push through the required screen 
         />
)

enum navigator : navigator.push to screen new
  this.props.navigator.push({  // actually this navigator's 
    screen: "ExampleScreen",
    options: { title: "Exampe" },
  });

enum userInfor  
{
    name: 'test',
    phone: '0123456789',
    address: {
      address: "Đường Nguyễn Huệ, Bến Nghé, Quận 1, Thành phố Hồ Chí Minh, Việt Nam",
      city: "Hồ Chí Minh",
      country: "VN",
      district: "Quận 1",
      lat: 10.7740739,
      lng: 106.703627,
      shortAddress: "Đường Nguyễn Huệ Bến Nghé",
    }
}

id_service: id of each service
enum id_service  
{
    house_cleaning: '636211053a8feeea7ee24769',
    deep_cleaning: '636211053a8feeea7ee2476c',
    ac_cleaning: '636211053a8feeea7ee24768',
}
enum refName  
{
    DEFAULT: 'house_cleaning', 
    deep_cleaning: 'deep_cleaning',
    ac_cleaning: 'ac_cleaning',
}
enum title  
{
    house_cleaning: 'Dọn dẹp nhà',
    deep_cleaning: 'Tổng vệ sinh',
    ac_cleaning: 'Vệ sinh máy lạnh',
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library