jpush flutter iOS stepped pit-side integration in mind

android is not much problem, iOS end of the pit really is more.

1, certificate configuration, this is not to say that more are tired (tears)

2, the certificate configured premise.

IOS open end on the error, the flash back, as long as there is substantially jpush error message, the likelihood is missing 

jpush.setup(appKey: "11111111111" ,channel: 'theChannel',production:false,debug: true);

The latter two parameters

3, if an error has solved the problem, but have been prompted

not get devicetoken yet. after successful login, a custom message can be sent, but the apns notification cannot. until the devicetoken is 

This information is basically missing

jpush.applyPushAuthority(new NotificationSettingsIOS( sound: true, alert: true, badge: true));

 

Published 310 original articles · won praise 69 · Views 460,000 +

Guess you like

Origin blog.csdn.net/nimeghbia/article/details/103803055