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 = "ios/**/*.{h,m,mm,swift,cpp}"
17
- s.private_header_files = "ios/**/*.h"
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)
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nosnia-audio-recorder",
3
- "version": "0.3.9",
3
+ "version": "0.4.0",
4
4
  "description": "This is a modern audio recorder which actually works cross platform",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",