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 🙏

© 2026 – Pkg Stats / Ryan Hefner

sjzt-cloud-device-plugin

v0.2.5

Published

云设备管理插件,带有设备未初始化页面,可后台控制设备重启、应用重启、应用更新

Readme

sjzt-cloud-device-plugin

世纪智图 通用远程设备管理 目前包含功能

  • 设备初始化检测及首屏
  • 应用更新
  • 应用重启
  • 设备重启
  • 设备快照
  • 获取设备信息
  • 设备网络检测
  • 设备网络管理
  • WIFI设置自动开启

example 源码在 gitee 目录内的 example

Installation

step-1. Android文件配置

  • android\app\src\main\java\com\你的包名\MainApplication.java
    • 头部插入import org.xutils.x;
    • onCreate方法尾部插入x.Ext.init(this);
  • android\app\build.gradle
    • dependencies内尾部插入implementation('org.xutils:xutils:3.9.0')
  • android\build.gradle
    • 插入以下内容
allprojects {
  repositories {
    maven {
          name 'maven-snapshot'
          url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
    }
    maven {
      url 'https://maven.aliyun.com/repository/public/'
    }
    maven {
      url 'https://maven.aliyun.com/repository/central'
    }
    google()
    mavenCentral()
    jcenter()
    mavenLocal()
  }
}

configurations.all {
  resolutionStrategy {
    force 'androidx.core:core-ktx:1.6.0'
  }
}
    

EXPO Installation

step-1. EXPO预构建

  expo prebuild

step-2. 修改Android配置文件

  • 修改android/app/build.gradle:116处的namespace包名
  • 修改android/app/src/release/java/com/xx/ReactNativeFlipper.javapackage包名

如果包名和xxx/android/app/src/main/AndroidManifest.xml的包名相同则不需要修改

step-3. 注册云管理依赖

  expo install sjzt-cloud-device-plugin

👇👇👇 DEMO

import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator, NativeStackNavigationOptions } from '@react-navigation/native-stack';
import { StatusBar } from 'expo-status-bar';
import { Dimensions, StyleSheet, View } from 'react-native';
import { AppManage } from 'sjzt-cloud-device-plugin-test';

export default function Navigation() {
    const screenOptions: NativeStackNavigationOptions = {
        headerShown: false,
        presentation: 'transparentModal'
    }
    const Stack = createNativeStackNavigator();
    return <NavigationContainer>
        <StatusBar style='inverted' />
        <AppManage type='003' />
        <Stack.Navigator
            initialRouteName={'HOME'}
            screenOptions={screenOptions}
        >
            <Stack.Screen key={`HOME`} name={`HOME`}></Stack.Screen>
        </Stack.Navigator>
    </NavigationContainer>
}

const styles = StyleSheet.create({
    container: {
        width: Dimensions.get('screen').width,
        height: Dimensions.get('screen').height,
        flex: 1,
        backgroundColor: '#fff',
        alignItems: 'center',
        justifyContent: 'center',
    },
});

ok.

API

| Method | Return Type | | --------------------------------- | ----------- | | getDeviceInfo() | deviceInfoProps |

TroubleShot

遇到问题提 Issue@贾静豪

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

Versions

  • 0.2.5
    • 优化获取设备信息时请求超时断网拦截
  • 0.2.4
    • 优化获取设备信息时的请求超时处理
  • 0.2.2
    • 增加设备远程快照
    • 增加设备远程更新
  • 0.2.1
    • 优化未初始化适配问题
    • 新增当wifi关闭时自动开启
  • 0.2.0
    • 增加网络状态检测
    • 增加网络管理
  • 0.1.3
    • 优化initLock参数的控制只限于视图,只要使用此依赖就必须需要请求设备初始化状态。
  • 0.1.2
    • 增加initLock参数,实现对未初始化全屏的选择可有可无。
  • 0.1.1
    • 增加对设备检测是否已初始化,未初始化则全屏弹出未初始化屏幕。
  • 0.1.0
    • 首次上传。