openinstall-react-native's People
openinstall-react-native's Issues
rn导入打包release apk 报错
RT:
"react": "16.9.0",
"react-native": "0.61.4",
"openinstall-react-native": "^1.1.7"
./gradlew assembleRelease 如下报错
Task :openinstall-react-native:verifyReleaseResources FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':openinstall-react-native:verifyReleaseResources'.
1 exception was raised by workers:
com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
/app/node_modules/openinstall-react-native/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
/app/node_modules/openinstall-react-native/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
/app/node_modules/openinstall-react-native/android/build/intermediates/res/merged/release/values/values.xml:2744: error: resource android:attr/fontVariationSettings not found.
/app/node_modules/openinstall-react-native/android/build/intermediates/res/merged/release/values/values.xml:2745: error: resource android:attr/ttcIndex not found.
error: failed linking references.
iOS SDK 能升级下吗?
npm ERR! missing script: openinstall
npm ERR! missing script: openinstall
build.gradle 需要修正
在 android/build.gradle 內
應該用一個function去設定android{}區塊內的版本
例如
def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
compileSdkVersion safeExtGet('compileSdkVersion', 28)
...
否則將會影響到使用者原本專案的設定而在build時產生error
昨天在QQ群裡面反映過了
請協助修正謝謝
Android回調資料格式不正確
回調的map在iOS是完整物件
但在Android上map.data卻是字串
需要額外解析map.data成物件
提供初始化控制
能不能优化一下,不立即初始化,导出一个初始化的函数:
原生接入可以包含以下逻辑:
App 启动时,调用OpenInstall.init(context)方法完成 sdk 初始化 ,务必确保用户同意《隐私政策》之后,再初始化openinstall SDK;如果用户不同意,则不进行openinstall SDK初始化
而本库现在自动初始化,不管是否已同意 ,无法和隐私协议 的 ‘同意’ 进行顺序控制 。
无法在 react-native 0.60版本使用
IOS集成调用组件报错!
TypeError: Cannot read property 'getWakeUp' of undefined
RN:0.57.6
OPENINSTALL:1.2.6
[types feature] : could your add index.d.ts ?
- Hopefully add the type
Thanks!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.