Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@epig/rn-baselib
Advanced tools
Readme
npm i @epig/rn-baselib --save
react-native link
need react-native link
react-native-linear-gradient
(渐变控件);react-native-vector-icons
(SVG图片);react-native-gesture-handler
(react-navigation 3.x依赖);react-native-spinkit
(Loading动画);抽离封装的UI控件
样式模块
公用方法模块
创建model模块
./styles/theme.ts
), 可以在项目根目录下新建一个theme.json
文件, 在此文件内添加对应的颜色值; 如果key
与./styles/theme.ts
内的key
相同则会覆盖, 如果没有相同的key
, 则会新增颜色值.node node_modules/@epig/rn-baselib/styles/custom.cli.js
用到某个权限需在 info.plist
添加如下对应项
Privacy - Photo Library Usage Description
Privacy - Photo Library Additions Usage Description
Privacy - Camera Usage Description
Privacy - Location When In Use Usage Description
Privacy - Location Usage Description
Privacy - Location Always Usage Description
Privacy - Location Always and When In Use Usage Description
Privacy - Contacts Usage Description
用到某个权限需在 AndroidManifest.xml
添加如下对应项
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
<uses-permission android:name="android.permission.READ_SMS"/>
<uses-permission android:name="android.permission.WRITE_SMS"/>
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
<uses-permission android:name="android.permission.SEND_SMS"/>
<uses-permission android:name="android.permission.READ_CALL_LOG"/>
<uses-permission android:name="android.permission.WRITE_CALL_LOG"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
FAQs
## 安装 ```bash npm i @epig/rn-baselib --save react-native link ```
The npm package @epig/rn-baselib receives a total of 2 weekly downloads. As such, @epig/rn-baselib popularity was classified as not popular.
We found that @epig/rn-baselib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.