nosnia-audio-recorder 0.3.9 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,8 +13,10 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.platforms = { :ios => min_ios_version_supported }
|
|
14
14
|
s.source = { :git => "https://nosnia.ai.git", :tag => "#{s.version}" }
|
|
15
15
|
|
|
16
|
-
s.source_files =
|
|
17
|
-
|
|
16
|
+
s.source_files = [
|
|
17
|
+
"ios/NosniaAudioRecorder.{h,mm}",
|
|
18
|
+
"ios/NosniaAudioPlayer.{h,mm}"
|
|
19
|
+
]
|
|
18
20
|
s.frameworks = "AVFoundation", "MediaPlayer"
|
|
19
21
|
|
|
20
22
|
install_modules_dependencies(s)
|
package/ios/NosniaAudioPlayer.mm
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
#ifndef __NOSNIA_AUDIO_PLAYER_MM__
|
|
2
|
-
#define __NOSNIA_AUDIO_PLAYER_MM__
|
|
3
|
-
|
|
4
1
|
#import "NosniaAudioPlayer.h"
|
|
5
2
|
#import <AVFoundation/AVFoundation.h>
|
|
6
3
|
#import <React/RCTBridgeModule.h>
|
|
@@ -260,5 +257,3 @@ RCT_EXPORT_MODULE(NosniaAudioPlayer)
|
|
|
260
257
|
}
|
|
261
258
|
|
|
262
259
|
@end
|
|
263
|
-
|
|
264
|
-
#endif /* __NOSNIA_AUDIO_PLAYER_MM__ */
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
#ifndef __NOSNIA_AUDIO_RECORDER_MM__
|
|
2
|
-
#define __NOSNIA_AUDIO_RECORDER_MM__
|
|
3
|
-
|
|
4
1
|
#import "NosniaAudioRecorder.h"
|
|
5
2
|
#import <AVFoundation/AVFoundation.h>
|
|
6
3
|
#import <React/RCTBridgeModule.h>
|
|
@@ -499,5 +496,3 @@ RCT_EXPORT_MODULE(NosniaAudioRecorder)
|
|
|
499
496
|
}
|
|
500
497
|
|
|
501
498
|
@end
|
|
502
|
-
|
|
503
|
-
#endif /* __NOSNIA_AUDIO_RECORDER_MM__ */
|
package/package.json
CHANGED