Comments (9)
谢,
.setOptions(null, 60, null, true)
这边改成true可以,默认不写是dev环境
from jpush-api-nodejs-client.
后台能发,用 node client api 收不到,官方检查一下啊
from jpush-api-nodejs-client.
@crapthings @feit 刚刚测试代码是可以正常运行的
from jpush-api-nodejs-client.
@helperhaps
isDebug: false
这个参数和 开发模式 生产模式 有没有关系?
from jpush-api-nodejs-client.
@crapthings 刚刚稍稍看了一下代码,这个参数只是用来确认是否打印 log 的,和环境没有关系。我是直接运行 README 上的示例,结果 android 手机收到了推送,所以你所谓的“收不到”应该是你自己的实现或者其他哪里的问题。
from jpush-api-nodejs-client.
ios
部分可能需要这个
setOptions: {
apns_production: true
}
来指定生产环节
from jpush-api-nodejs-client.
是的,你可以先使用 Android 机来测试,服务端的话,Android 方面是比较简单的,只要 Android 没有问题的话,服务端就不会有太大问题。
from jpush-api-nodejs-client.
推送iOS生产环境收不到消息,Android怎么都能收到消息
from jpush-api-nodejs-client.
from jpush-api-nodejs-client.
Related Issues (20)
- ios开发环境可以收到推送, 但是打包之后就收不到了, xcode里面的entitlements需要更改吗?
- 文档里面说不设置的话默认是推送生产环境, 但是极光开发者服务里面查看推送历史又是"apns_production":false," HOT 1
- missing 'style' in output from JPushAsync.android() if style is not 0 HOT 1
- 音
- Some vulnerabilities in dependency of jpush-async HOT 5
- TAG_PATH ERROR HOT 3
- TAG_PATH BUG HOT 1
- 能否支持 await的写法
- 能否支持 await的写法 HOT 1
- 如何在Android上推送通知栏大图标?
- 有 typescript 版本计划吗?
- 如何设置cid避免消息多次推送
- NodeJS version can't find report status interface for v4.0.2 HOT 1
- typescript支持
- 请问消息撤回的时间限制是多少
- Error: Cannot find module '../lib/JPush/JPushAsync.js'
- getReportStatusMessage调用出错
- ReferenceError: third_party_channel is not defined
- 收到通知后点击通知 为什么重启一定会重启,不管是否打开都会重启,但是用官方的在线调试功能不会,是需要设置什么参数吗?
- Ios 如何support interruption-level
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.
from jpush-api-nodejs-client.