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

Commit 28839db

Browse files
authored
Merge pull request #9 from chirp/release/0.3.0
Update to Android v3.8.0
2 parents ae7ed39 + 2ad5a25 commit 28839db

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Chirp SDK Flutter
22

3+
## 0.3.0 - beta
4+
5+
- Upgrade to Android v3.8.0
6+
7+
## 0.2.0 - beta
8+
9+
- Upgrade to iOS v3.5.0
10+
311
## 0.1.1 - 01/03/19
412

513
- Upgrade to Android v3.6.1

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ Copy and paste your Chirp app key, secret and chosen configuration into the
1313
await ChirpSDK.setConfig(_appConfig);
1414
await ChirpSDK.start();
1515

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

1822
To grant iOS apps permission to use the microphone, you will need to add a `Privacy - Microphone Usage Description`

android/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ group 'io.chirp.chirpsdk'
22
version '1.0-SNAPSHOT'
33

44
buildscript {
5-
ext.kotlin_version = '1.2.71'
5+
ext.kotlin_version = '1.3.0'
66
repositories {
77
google()
88
jcenter()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:3.3.1'
12+
classpath 'com.android.tools.build:gradle:3.3.2'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414
}
1515
}
@@ -44,5 +44,5 @@ android {
4444

4545
dependencies {
4646
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
47-
implementation 'io.chirp:chirpsdk:3.6.1'
47+
implementation 'io.chirp:chirpsdk:3.8.0'
4848
}

android/src/main/kotlin/io/chirp/chirpsdk/ChirpsdkPlugin.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class ChirpsdkPlugin(val activity: Activity) : MethodCallHandler {
105105
*/
106106
stateStreamHandler.send(oldState.code, newState.code)
107107
}
108-
chirpConnect.onSystemVolumeChanged { oldVolume: Int, newVolume: Int ->
108+
chirpConnect.onSystemVolumeChanged { oldVolume: Float, newVolume: Float ->
109109
/**
110110
* onSystemVolumeChanged is called when the system volume is changed.
111111
*/

ios/chirpsdk.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A new flutter plugin project.
1515
s.source_files = 'Classes/**/*'
1616
s.public_header_files = 'Classes/**/*.h'
1717
s.dependency 'Flutter'
18-
s.dependency 'ChirpSDK'
18+
s.dependency 'ChirpSDK', '3.5.1'
1919

2020
s.static_framework = true
2121
s.ios.deployment_target = '8.0'

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: chirpsdk
2-
version: 0.1.1
2+
version: 0.3.0
33
description: Chirp enables your apps to send and receive information using sound.
44
author: Asio Ltd <[email protected]>
55
homepage: https://github.com/chirp/chirp-flutter

0 commit comments

Comments
 (0)