xingepush / xinge-react-native Goto Github PK
View Code? Open in Web Editor NEW信鸽 SDK 的 React-Nativie 示例
信鸽 SDK 的 React-Nativie 示例
非常需要这样一个库,之前有人写了一个,但半年多都不再更新了,现在信鸽有了新版本,想升级也没辙,好几个人提了 Issue 作者完全不理,只能在这说一下了...
我是用的 react-native-xinge-push 这个 RN 库,通过附加参数 传递值,来告诉客户端 要跳转到哪个页面。
当 app 处于关闭状态时,能收到通知,但当点击通知后 打开 app 时 onNotification 回调函数不会被调用,app 处于 active 状态是可以触发 onNotification 函数的。
xinge 官方提供的 点击打开 方式 似乎没有适合 RN 的,我也不是很懂 android ,希望能够给我提供一些帮助。谢谢~
RN 的用户大多是前端,不懂原生开发,是否能发布 npm 包呢,这样就可以执行两行命令搞定
npm install react-native-xxx
react-native link react-native-xxx
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.