Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@akylas/nativescript-audio

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akylas/nativescript-audio - npm Package Compare versions

Comparing version 6.2.7 to 6.2.8

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [6.2.8](https://github.com/farfromrefug/nativescript-audio/compare/v6.2.7...v6.2.8) (2022-02-07)
**Note:** Version bump only for package @akylas/nativescript-audio
## 6.2.7 (2022-02-07)

@@ -8,0 +16,0 @@

9

ios/player.js

@@ -79,3 +79,3 @@ import { Observable, Utils, knownFolders, path as nsFilePath } from '@nativescript/core';

const audioSession = AVAudioSession.sharedInstance();
audioSession.setCategoryModeRouteSharingPolicyOptionsError(options.sessionCategory || AVAudioSessionCategoryAmbient, options.sessionMode || AVAudioSessionModeDefault, options.sessionRouteSharingPolicy || 1, options.audioMixing ? 1 : 2);
audioSession.setCategoryModeRouteSharingPolicyOptionsError(options.sessionCategory || AVAudioSessionCategoryAmbient, options.sessionMode || AVAudioSessionModeDefault, options.sessionRouteSharingPolicy || 1, options.audioMixing ? 1 : 2, null);
const output = audioSession.currentRoute.outputs.lastObject.portType;

@@ -148,8 +148,3 @@ if (output.match(/Receiver/)) {

const audioSession = AVAudioSession.sharedInstance();
if (options.audioMixing) {
audioSession.setCategoryWithOptionsError(AVAudioSessionCategoryAmbient, 1);
}
else {
audioSession.setCategoryWithOptionsError(AVAudioSessionCategoryAmbient, 2);
}
audioSession.setCategoryModeRouteSharingPolicyOptionsError(options.sessionCategory || AVAudioSessionCategoryAmbient, options.sessionMode || AVAudioSessionModeDefault, options.sessionRouteSharingPolicy || 1, options.audioMixing ? 1 : 2, null);
const output = audioSession.currentRoute.outputs.lastObject.portType;

@@ -156,0 +151,0 @@ if (output.match(/Receiver/)) {

{
"name": "@akylas/nativescript-audio",
"version": "6.2.7",
"version": "6.2.8",
"description": "NativeScript plugin to record and play audio.",

@@ -95,3 +95,3 @@ "main": "./index",

},
"gitHead": "f2cea9a121299ba6666245e4da10a4d2fb968e6e"
"gitHead": "de4a63875707c1dd27d5d48ca44aeee7f12b8d72"
}

@@ -45,3 +45,2 @@ <!-- ⚠️ This README has been generated from the file(s) "blueprint.md" ⚠️-->

* [Installation](#installation)
* [Table of Contents](#table-of-contents)
* [Installation](#installation-1)

@@ -78,14 +77,3 @@ * [Android Native Classes](#android-native-classes)

---
[](#table-of-contents)
## Table of Contents
1. [Installation](#installation)
2. [Permissions](#permissions)
3. [Usage](#usage)
4. [API](#api)
5. [Demos and Development](#demos-and-development)
[](#installation)

@@ -92,0 +80,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc