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

rn-wappsto-networks

v2.0.4

Published

React Native app for interacting with IoT devices in Wappsto Platform.

Downloads

87

Readme

React native wappsto networks

React native wappsto networks is an application that allows the user to interact and control his Wappsto networks.

How it works:

This app is using react-native-firebase, react-native-google-signin and react-native-fbsdk for 3rd party signing in. First, you should provide your firebase webClientId(https://console.developers.google.com/apis/credentials) and your V2 recaptchaKey(https://www.google.com/recaptcha/admin/site/338760476) in src/config.json. If you don't have the file, use config.example.json as example.

Create strings.xml file under android/app/src/main/res/values/ folder and put the following:

<resources>
    <string name="app_name">rn_wappsto_networks</string>
    <string name="facebook_app_id"></string>
    <string name="fb_login_protocol_scheme"></string>
</resources>

Then, you have to set up your facebook app. To do so, got to these links and follow the steps:

You can either use this project and continue on top of it, or simply install it as a dependency and override the things you want to change.

In order for this project to work as a dependency, you should install all these react-native dependencies link them:

@react-native-community/async-storage   ^1.2.1
@react-native-community/netinfo          3.2.1
react-native-gesture-handler             1.2.1
react-native-vector-icons               ^6.4.2
react-native-localize                   ^1.1.0
react-navigation                        ^3.5.1
react-redux                             ^7.0.3
.
.
.

Note that some of these libs require manual installation.

For override examples, check examples folder.

When you are overriding components or theme, make sure that your file is loaded before App component. App component is under rn-wappsto-networks/index.js or rn-wappsto-networks/src/navigation

All pages that are under components variable in rn-wappsto-networks/src/navigation can be replaced.

SplashScreen
LoginScreen
NetworksListScreen
NetworkScreen
DeviceScreen
ValueScreen
AccountScreen
DrawerMenu
MainStackScreen
AccountStackScreen
MainScreen
SwitchNavigator
AppContainer
App

When replacing a component, use { replaceComponent } function of rn-wappsto-networks/src/override. This function will give you in the argument components variable of rn-wappsto-networks/src/navigation, where you can replace stuff and return the new components object. Note that all new components/pages should be a function that returns the actual component.

example of index.js file

import {AppRegistry} from 'react-native';
import  * as oc from './src/override_components';
import  * as ot from './src/override_theme';
import App from 'rn-wappsto-networks';
import {name as appName} from './app.json';

AppRegistry.registerComponent(appName, () => App);

Components

KeyboardAvoidingView

This component adds styling and properties required for it to work on iOS. It is important that KeyboardAvoidingView is placed before ScrollView and after SafeAreaView (if applicable). offset is required to be set for the views that use navigation.