fix: iOS push

This commit is contained in:
Christian Pauly 2021-01-31 19:23:06 +01:00
parent c01bdf7094
commit 2bf184a503
2 changed files with 7 additions and 7 deletions

View File

@ -144,9 +144,9 @@ PODS:
- Protobuf (3.14.0)
- receive_sharing_intent (0.0.1):
- Flutter
- SDWebImage (5.10.2):
- SDWebImage/Core (= 5.10.2)
- SDWebImage/Core (5.10.2)
- SDWebImage (5.10.3):
- SDWebImage/Core (= 5.10.3)
- SDWebImage/Core (5.10.3)
- share (0.0.1):
- Flutter
- shared_preferences (0.0.1):
@ -177,7 +177,7 @@ PODS:
- sqlite3/json1
- sqlite3/perf-threadsafe
- sqlite3/rtree
- SwiftyGif (5.3.0)
- SwiftyGif (5.4.0)
- "tau_sound_core (7.5.3+1)"
- url_launcher (0.0.1):
- Flutter
@ -326,14 +326,14 @@ SPEC CHECKSUMS:
PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97
Protobuf: 0cde852566359049847168e51bd1c690e0f70056
receive_sharing_intent: c0d87310754e74c0f9542947e7cbdf3a0335a3b1
SDWebImage: b969dcfc02c40a5da71eac0b03b8f1a0c794a86f
SDWebImage: e378178472b735e84b007bfb55514c97948a0598
share: 0b2c3e82132f5888bccca3351c504d0003b3b410
shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d
sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904
SQLCipher: 1ab0b9486a77d141e72e92ff30681926ed79c07a
sqlite3: 8f7d2078ae27778699a622a94b853285793422a2
sqlite3_flutter_libs: 5651f8ff48e3b44d910863c4ea5916085b1b245f
SwiftyGif: e466e86c660d343357ab944a819a101c4127cb40
SwiftyGif: 5d4af95df24caf1c570dbbcb32a3b8a0763bc6d7
tau_sound_core: d6dad8fc83230965615e53717711e0550a642702
url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef
webview_flutter: d2b4d6c66968ad042ad94cbb791f5b72b4678a96

View File

@ -79,7 +79,7 @@ abstract class FirebaseController {
goToRoom(details.payload);
});
if ((await UnifiedPush.getDistributors()).isNotEmpty) {
if (!Platform.isIOS && (await UnifiedPush.getDistributors()).isNotEmpty) {
await setupUnifiedPush(clientName);
return;
}