Skip to content

Commit 565c91e

Browse files
Bumping Survicate SDKs
1 parent 8961621 commit 565c91e

File tree

9 files changed

+37
-28
lines changed

9 files changed

+37
-28
lines changed

.idea/workspace.xml

Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.1.0
2+
3+
* Bumping Survicate Android SDK to 1.3.0 and iOS SDK to 1.5.5
4+
15
## 2.0.1
26

37
* Bumping Survicate Android and iOS SDKs

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group 'com.oakam.survicate.survicate_flutter_sdk'
2-
version '2.0.1'
2+
version '2.1.0'
33

44
buildscript {
55
ext.kotlin_version = '1.3.50'
@@ -41,5 +41,5 @@ android {
4141

4242
dependencies {
4343
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
44-
implementation 'com.survicate:survicate-sdk:1.2.6'
44+
implementation 'com.survicate:survicate-sdk:1.3.0'
4545
}

example/pubspec.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.5.0"
10+
version: "2.8.1"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -28,7 +28,7 @@ packages:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.2.0"
31+
version: "1.3.1"
3232
clock:
3333
dependency: transitive
3434
description:
@@ -49,7 +49,7 @@ packages:
4949
name: cupertino_icons
5050
url: "https://pub.dartlang.org"
5151
source: hosted
52-
version: "1.0.2"
52+
version: "1.0.3"
5353
fake_async:
5454
dependency: transitive
5555
description:
@@ -80,7 +80,7 @@ packages:
8080
name: meta
8181
url: "https://pub.dartlang.org"
8282
source: hosted
83-
version: "1.3.0"
83+
version: "1.7.0"
8484
path:
8585
dependency: transitive
8686
description:
@@ -99,7 +99,7 @@ packages:
9999
name: source_span
100100
url: "https://pub.dartlang.org"
101101
source: hosted
102-
version: "1.8.0"
102+
version: "1.8.1"
103103
stack_trace:
104104
dependency: transitive
105105
description:
@@ -141,7 +141,7 @@ packages:
141141
name: test_api
142142
url: "https://pub.dartlang.org"
143143
source: hosted
144-
version: "0.2.19"
144+
version: "0.4.2"
145145
typed_data:
146146
dependency: transitive
147147
description:

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
survicate_flutter_sdk:
1313
path: ../
1414

15-
cupertino_icons: 1.0.2
15+
cupertino_icons: 1.0.3
1616

1717
dev_dependencies:
1818
flutter_test:

ios/Classes/SwiftSurvicateFlutterSdkPlugin.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class SwiftSurvicateFlutterSdkPlugin: NSObject, FlutterPlugin {
2222
registrar.addMethodCallDelegate(instance, channel: channel)
2323
FlutterChannel.shared.channel = channel
2424

25-
Survicate.shared.initialize()
25+
SurvicateSdk.shared.initialize()
2626
}
2727

2828
public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
@@ -31,19 +31,19 @@ public class SwiftSurvicateFlutterSdkPlugin: NSObject, FlutterPlugin {
3131
if (call.method == "invokeEvent") {
3232
let eventName = arguments["eventName"] ?? ""
3333

34-
Survicate.shared.invokeEvent(name: eventName)
34+
SurvicateSdk.shared.invokeEvent(name: eventName)
3535

3636
result(true)
3737
} else if (call.method == "enterScreen") {
3838
let screenName = arguments["screenName"] ?? ""
3939

40-
Survicate.shared.enterScreen(value: screenName)
40+
SurvicateSdk.shared.enterScreen(value: screenName)
4141

4242
result(true)
4343
} else if (call.method == "leaveScreen") {
4444
let screenName = arguments["screenName"] ?? ""
4545

46-
Survicate.shared.leaveScreen(value: screenName)
46+
SurvicateSdk.shared.leaveScreen(value: screenName)
4747

4848
result(true)
4949
} else if (call.method == "setUserTraits") {
@@ -53,19 +53,19 @@ public class SwiftSurvicateFlutterSdkPlugin: NSObject, FlutterPlugin {
5353
traits.append(UserTrait(withName: key, value: value))
5454
}
5555

56-
Survicate.shared.setUserTraits(traits: traits)
56+
SurvicateSdk.shared.setUserTraits(traits: traits)
5757

5858
result(true)
5959
} else if (call.method == "reset") {
60-
Survicate.shared.reset()
60+
SurvicateSdk.shared.reset()
6161

6262
result(true)
6363
} else if (call.method == "registerSurveyListeners") {
64-
Survicate.shared.delegate = survicateDelegate
64+
SurvicateSdk.shared.delegate = survicateDelegate
6565

6666
result(true)
6767
} else if (call.method == "unregisterSurveyListeners") {
68-
Survicate.shared.delegate = nil
68+
SurvicateSdk.shared.delegate = nil
6969

7070
result(true)
7171
} else {

ios/survicate_flutter_sdk.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'survicate_flutter_sdk'
7-
s.version = '2.0.1'
7+
s.version = '2.1.0'
88
s.summary = 'Survicate mobile survey SDK for Flutter.'
99
s.description = <<-DESC
1010
A new flutter plugin project.
@@ -15,7 +15,7 @@ A new flutter plugin project.
1515
s.source = { :path => '.' }
1616
s.source_files = 'Classes/**/*'
1717
s.dependency 'Flutter'
18-
s.dependency 'Survicate', '1.4.5'
18+
s.dependency 'Survicate', '1.5.5'
1919
s.platform = :ios, '10.0'
2020

2121
# Flutter.framework does not contain a i386 slice.

pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.5.0"
10+
version: "2.8.1"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -28,7 +28,7 @@ packages:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.2.0"
31+
version: "1.3.1"
3232
clock:
3333
dependency: transitive
3434
description:
@@ -73,7 +73,7 @@ packages:
7373
name: meta
7474
url: "https://pub.dartlang.org"
7575
source: hosted
76-
version: "1.3.0"
76+
version: "1.7.0"
7777
path:
7878
dependency: transitive
7979
description:
@@ -92,7 +92,7 @@ packages:
9292
name: source_span
9393
url: "https://pub.dartlang.org"
9494
source: hosted
95-
version: "1.8.0"
95+
version: "1.8.1"
9696
stack_trace:
9797
dependency: transitive
9898
description:
@@ -127,7 +127,7 @@ packages:
127127
name: test_api
128128
url: "https://pub.dartlang.org"
129129
source: hosted
130-
version: "0.2.19"
130+
version: "0.4.2"
131131
typed_data:
132132
dependency: transitive
133133
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: survicate_flutter_sdk
22
description: Survicate mobile SDK for Flutter allows you to survey specific groups of your mobile app users to understand their needs, expectations, and objections.
3-
version: 2.0.1
3+
version: 2.1.0
44
homepage: https://github.com/andre-paraense/survicate-flutter-sdk
55
issue_tracker: https://github.com/andre-paraense/survicate-flutter-sdk/issues
66

0 commit comments

Comments
 (0)