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

react-native-chabok

v2.4.0

Published

React native wrapper for Chabok SDK

Downloads

25

Readme

Table of contents:

Project Notes

  1. For developing in this project use WebStorm IDE. This is the best IDE and more compatible with React-Native platform.

  2. All js module codes are in chabok-client-rn/lib path. After applied changes in the native modules, Don't forget apply them on the js module if need.

  3. SDK initialization should be in native side for each platform. For example: iOS users should call configureEnvironment method from native SDK in AppDelegate.m class.

Android contributing instructions:

Notes:

  1. For developing Android native bridge use Android Studio IDE.

  2. Never change the ChabokReactPackage class. When this class may change you need to support for specific version on the React-Native. Their breaking changes always affects of this module.

  3. React-Native has any two-way communication channel from the native module to js module and conversely. You have a one-way communication service by calling emit method.

  4. For running project on android device follow the instruction:

 npm run android

Update Android native SDK:

All Chabok libraries follow the semantic versioning.

Without any breaking changes:

If it hasn't any breaking changes follow this instruction:

cd react-native-rn/android

vi build.gradle

Just change Chabok Android SDK Version:

from:

 api 'com.adpdigital.push:chabok-lib:3.4.0'

to:

 api 'com.adpdigital.push:chabok-lib:3.7.1'

With breaking changes

If it has some breaking changes first follow the above instruction. After that if breaking changes includes code changes, don't forget apply all changes in ChabokPushModule.java bridge class. The ChabokPushModule is a simple bridge for connect the native module and js module.

iOS contributing instructions:

Notes:

  1. For developing iOS native bridge use Xcode IDE. Open project from react-native-rn/ios path.

  2. For testing iOS bridge you should use cocoapods with 1.7.5 version.

  3. For running project on iOS device follow the instruction:

 cd ios
 pod install

 cd ..
 npm run ios

Update iOS native SDK:

All Chabok libraries follow the semantic versioning.

Without any breaking changes:

If it hasn't any breaking changes follow this instruction:

cd react-native-rn

vi react-native-chabok.podspec

Just change Chabok iOS SDK Version:

from:

 s.dependency "ChabokPush", "~> 2.2.0"

to:

 s.dependency "ChabokPush", "~> 2.4.0"

And copy last version of iOS framework into the react-native-rn/ios/frameworks:

With breaking changes

If it has some breaking changes first follow the above instruction. After that if breaking changes includes code changes, don't forget apply all changes in ChabokPush.m bridge class. The ChabokPush is a simple bridge for connect the native module and js module.