Selaa lähdekoodia

Try to get sound playing on iOS

Sebastián Katzer 12 vuotta sitten
vanhempi
commit
6abf363a87
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/ios/APPLocalNotification.m

+ 1 - 1
src/ios/APPLocalNotification.m

@@ -230,7 +230,7 @@ NSString *const kAPP_LOCALNOTIFICATION = @"APP_LOCALNOTIFICATION";
         }
         else
         {
-            notification.soundName = sound;
+            notification.soundName = [self.commandDelegate pathForResource:sound];
         }
     }