我正在尝试发送Apple推送通知。而且,只有 ChannelCreated 事件会在我的结尾调用,而不是 NotificationFailed或NotificationSent 。此外,通知不会发送到该特定的Apple设备。我也运行telnet命令来解决这个问题,但是徒劳无功。
def customDeps = [
flavor1DebugCompile : dependencies.project(path: ':yourproject', configuration: 'flavor1Debug'),
flavor2DebugCompile : dependencies.project(path: ':yourproject', configuration: 'flavor2Debug'),
flavor1ReleaseCompile : dependencies.project(path: ':yourproject', configuration: 'flavor1Release'),
flavor2ReleaseCompile : dependencies.project(path: ':yourproject', configuration: 'flavor2Release'),
]
configurations.all() { config ->
Dependency d = customDeps.get(config.name)
if (d != null) {
config.dependencies.add(d)
}
}