Browse Source

Try to get sound playing on iOS

Sebastián Katzer 12 năm trước cách đây
mục cha
commit
6abf363a87
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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];
         }
     }