static Future<void> setAPNsShowForegroundType(int type) async { return await _channel.invokeMethod('setAPNsShowForegroundType', {'type': type}); }