Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
fw-rn-aliface
Advanced tools
$ npm install react-native-fw-rn-aliface --save
$ react-native link react-native-fw-rn-aliface
Libraries
➜ Add Files to [your project's name]
node_modules
➜ fw-rn-aliface
and add RNFwRnAliface.xcodeproj
libRNFwRnAliface.a
to your project's Build Phases
➜ Link Binary With Libraries
Cmd+R
)<android/app/src/main/java/[...]/MainActivity.java
import com.feewee.aliface.RNFwRnAlifacePackage;
to the imports at the top of the filenew RNFwRnAlifacePackage()
to the list returned by the getPackages()
methodandroid/settings.gradle
:
include ':react-native-fw-rn-aliface'
project(':react-native-fw-rn-aliface').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fw-rn-aliface/android')
android/app/build.gradle
:
compile project(':react-native-fw-rn-aliface')
import RNFwRnAliface from 'react-native-fw-rn-aliface';
// TODO: What to do with the module?
RNFwRnAliface;
https://www.jianshu.com/p/091a68ea1ca7/
https://youngjuning.js.org/2019/06/react-native-create-library%E4%B8%AD%E6%96%87%E6%96%87%E6%A1%A3/
https://www.jianshu.com/p/091a68ea1ca7/
{
"name": "fw-rn-aliface",
"version": "1.0.0",
"description": "阿里人脸活体检测",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"npm:publish": "npm --registry https://registry.npmjs.org/ publish",
"npm:sync": "curl -i https://registry.npmjs.org/fw-rn-aliface",
"pod:lint": "export LANG=en_US.UTF-8 && pod lib lint TXIm.podspec",
"pod:install": "cd ios && export LANG=en_US.UTF-8 && pod install"
},
"keywords": [
"aliface"
],
"repository": {
"type": "git",
"url": "git@gitlab.feewee.cn:FEV2/fw-rn-aliface.git"
},
"homepage": "http://gitlab.feewee.cn/FEV2/fw-rn-aliface",
"author": "baiyun",
"license": "MIT",
"dependencies": {
"prop-types": "^15.7.2"
},
"peerDependencies": {
"react": "16.9.0",
"react-native": "0.61.5"
}
}
####3.修改build.gradle文件
apply plugin: 'com.android.library'
apply plugin: 'maven'
apply plugin: 'signing'
buildscript {
repositories {
mavenLocal()
google()
jcenter()
maven() {
url '/usr/local/node/lib/node_modules/react-native/android'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.0'
}
}
repositories {
mavenLocal()
google()
jcenter()
maven {
url '/usr/local/node/lib/node_modules/react-native/android'
}
}
apply plugin: 'com.android.library'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
signing {
sign configurations.archives
}
dependencies {
compileOnly 'com.facebook.react:react-native:+'
compileOnly files('src/main/assets')
}
FAQs
The npm package fw-rn-aliface receives a total of 9 weekly downloads. As such, fw-rn-aliface popularity was classified as not popular.
We found that fw-rn-aliface demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.