Explorar el Código

Try to get sound playing on iOS

Sebastián Katzer hace 12 años
padre
commit
6abf363a87
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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];
         }
     }