Skip to content
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #9 from chirp/release/0.3.0
Browse files Browse the repository at this point in the history
Update to Android v3.8.0
  • Loading branch information
dinuchiriac authored May 3, 2019
2 parents ae7ed39 + 2ad5a25 commit 28839db
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Chirp SDK Flutter

## 0.3.0 - beta

- Upgrade to Android v3.8.0

## 0.2.0 - beta

- Upgrade to iOS v3.5.0

## 0.1.1 - 01/03/19

- Upgrade to Android v3.6.1
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Copy and paste your Chirp app key, secret and chosen configuration into the
await ChirpSDK.setConfig(_appConfig);
await ChirpSDK.start();

Please see the [example](https://github.com/chirp/chirp-flutter/tree/master/chirpsdk/example)
for a more detailed run through of how to use the Chirp SDK.
For example the Chirp SDK async methods must called inside a Future async parent method.

## Permissions

To grant iOS apps permission to use the microphone, you will need to add a `Privacy - Microphone Usage Description`
Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ group 'io.chirp.chirpsdk'
version '1.0-SNAPSHOT'

buildscript {
ext.kotlin_version = '1.2.71'
ext.kotlin_version = '1.3.0'
repositories {
google()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'
classpath 'com.android.tools.build:gradle:3.3.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down Expand Up @@ -44,5 +44,5 @@ android {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'io.chirp:chirpsdk:3.6.1'
implementation 'io.chirp:chirpsdk:3.8.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class ChirpsdkPlugin(val activity: Activity) : MethodCallHandler {
*/
stateStreamHandler.send(oldState.code, newState.code)
}
chirpConnect.onSystemVolumeChanged { oldVolume: Int, newVolume: Int ->
chirpConnect.onSystemVolumeChanged { oldVolume: Float, newVolume: Float ->
/**
* onSystemVolumeChanged is called when the system volume is changed.
*/
Expand Down
2 changes: 1 addition & 1 deletion ios/chirpsdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A new flutter plugin project.
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.dependency 'ChirpSDK'
s.dependency 'ChirpSDK', '3.5.1'

s.static_framework = true
s.ios.deployment_target = '8.0'
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: chirpsdk
version: 0.1.1
version: 0.3.0
description: Chirp enables your apps to send and receive information using sound.
author: Asio Ltd <[email protected]>
homepage: https://github.com/chirp/chirp-flutter
Expand Down

0 comments on commit 28839db

Please sign in to comment.