Skip to content

Commit e1f12bd

Browse files
committed
feature/update 0.1.1
1 parent 4297106 commit e1f12bd

30 files changed

+169
-230
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# 0.1.1
2+
- INFO: Update dependencies (Flutter 3.0.2)
13
# 0.1.0
24
- INFO: Updated dependencies
35
# 0.0.21

example/android/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
2626
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727

2828
android {
29-
compileSdkVersion 30
29+
compileSdkVersion 31
3030

3131
sourceSets {
3232
main.java.srcDirs += 'src/main/kotlin'
@@ -36,7 +36,7 @@ android {
3636
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3737
applicationId "com.quickbirdstudios.surveykit_example"
3838
minSdkVersion 16
39-
targetSdkVersion 30
39+
targetSdkVersion 31
4040
versionCode flutterVersionCode.toInteger()
4141
versionName flutterVersionName
4242
}

example/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '1.3.50'
2+
ext.kotlin_version = '1.5.31'
33
repositories {
44
google()
55
jcenter()

example/assets/example_json.json

+2-23
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,7 @@
2020
"destinationStepIdentifier": {
2121
"id": "3"
2222
}
23-
},
24-
{
25-
"type": "direct",
26-
"triggerStepIdentifier": {
27-
"id": "2"
28-
},
29-
"destinationStepIdentifier": {
30-
"id": "8"
31-
}
32-
}
23+
}
3324
],
3425
"steps": [
3526
{
@@ -41,18 +32,6 @@
4132
"text": "Get ready for a bunch of super random questions!",
4233
"buttonText": "Let's go!"
4334
},
44-
{
45-
"stepIdentifier": {
46-
"id": "11"
47-
},
48-
"type": "video",
49-
"url": "https://flutter.github.io/assets-for-api-docs/assets/videos/butterfly.mp4",
50-
"isAutomaticFullscreen": true,
51-
"isAutoPlay": true,
52-
"isLooping": false,
53-
"allowMuting": false,
54-
"goToNextPageAfterEnd": true
55-
},
5635
{
5736
"stepIdentifier": {
5837
"id": "2"
@@ -191,7 +170,7 @@
191170
"type": "completion",
192171
"text": "Thanks for taking the survey, we will contact you soon!",
193172
"title": "Done!",
194-
"buttonText": "Submit survey"
173+
"buttonText": "Restart"
195174
}
196175
]
197176
}

example/ios/Podfile.lock

+6-18
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,22 @@
11
PODS:
22
- Flutter (1.0.0)
3-
- survey_kit (0.0.1):
4-
- Flutter
5-
- video_player (0.0.1):
6-
- Flutter
7-
- wakelock (0.0.1):
3+
- video_player_avfoundation (0.0.1):
84
- Flutter
95

106
DEPENDENCIES:
117
- Flutter (from `Flutter`)
12-
- survey_kit (from `.symlinks/plugins/survey_kit/ios`)
13-
- video_player (from `.symlinks/plugins/video_player/ios`)
14-
- wakelock (from `.symlinks/plugins/wakelock/ios`)
8+
- video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/ios`)
159

1610
EXTERNAL SOURCES:
1711
Flutter:
1812
:path: Flutter
19-
survey_kit:
20-
:path: ".symlinks/plugins/survey_kit/ios"
21-
video_player:
22-
:path: ".symlinks/plugins/video_player/ios"
23-
wakelock:
24-
:path: ".symlinks/plugins/wakelock/ios"
13+
video_player_avfoundation:
14+
:path: ".symlinks/plugins/video_player_avfoundation/ios"
2515

2616
SPEC CHECKSUMS:
2717
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
28-
survey_kit: fabd7496d806f0b9679e5a448414da27d8b1a731
29-
video_player: ecd305f42e9044793efd34846e1ce64c31ea6fcb
30-
wakelock: d0fc7c864128eac40eba1617cb5264d9c940b46f
18+
video_player_avfoundation: e489aac24ef5cf7af82702979ed16f2a5ef84cff
3119

3220
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
3321

34-
COCOAPODS: 1.11.2
22+
COCOAPODS: 1.11.3

example/ios/Runner/Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,7 @@
4646
<key>NSAllowsArbitraryLoads</key>
4747
<true/>
4848
</dict>
49+
<key>CADisableMinimumFrameDurationOnPhone</key>
50+
<true/>
4951
</dict>
5052
</plist>

example/lib/main.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class _MyAppState extends State<MyApp> {
2424
child: Align(
2525
alignment: Alignment.center,
2626
child: FutureBuilder<Task>(
27-
future: getSampleTask(),
27+
future: getJsonTask(),
2828
builder: (context, snapshot) {
2929
if (snapshot.connectionState == ConnectionState.done &&
3030
snapshot.hasData &&
@@ -33,6 +33,7 @@ class _MyAppState extends State<MyApp> {
3333
return SurveyKit(
3434
onResult: (SurveyResult result) {
3535
print(result.finishReason);
36+
Navigator.pushNamed(context, '/');
3637
},
3738
task: task,
3839
showProgress: true,

example/macos/Podfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ SPEC CHECKSUMS:
1313

1414
PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c
1515

16-
COCOAPODS: 1.11.2
16+
COCOAPODS: 1.11.3

example/pubspec.lock

+10-10
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ packages:
7070
name: csslib
7171
url: "https://pub.dartlang.org"
7272
source: hosted
73-
version: "0.17.1"
73+
version: "0.17.2"
7474
cupertino_icons:
7575
dependency: transitive
7676
description:
7777
name: cupertino_icons
7878
url: "https://pub.dartlang.org"
7979
source: hosted
80-
version: "1.0.4"
80+
version: "1.0.5"
8181
fake_async:
8282
dependency: transitive
8383
description:
@@ -120,7 +120,7 @@ packages:
120120
name: go_router
121121
url: "https://pub.dartlang.org"
122122
source: hosted
123-
version: "3.1.1"
123+
version: "4.0.0"
124124
html:
125125
dependency: transitive
126126
description:
@@ -211,7 +211,7 @@ packages:
211211
name: provider
212212
url: "https://pub.dartlang.org"
213213
source: hosted
214-
version: "6.0.2"
214+
version: "6.0.3"
215215
sky_engine:
216216
dependency: transitive
217217
description: flutter
@@ -251,7 +251,7 @@ packages:
251251
path: ".."
252252
relative: true
253253
source: path
254-
version: "0.1.0"
254+
version: "0.1.1"
255255
term_glyph:
256256
dependency: transitive
257257
description:
@@ -272,7 +272,7 @@ packages:
272272
name: typed_data
273273
url: "https://pub.dartlang.org"
274274
source: hosted
275-
version: "1.3.0"
275+
version: "1.3.1"
276276
uuid:
277277
dependency: transitive
278278
description:
@@ -293,28 +293,28 @@ packages:
293293
name: video_player
294294
url: "https://pub.dartlang.org"
295295
source: hosted
296-
version: "2.4.2"
296+
version: "2.4.5"
297297
video_player_android:
298298
dependency: transitive
299299
description:
300300
name: video_player_android
301301
url: "https://pub.dartlang.org"
302302
source: hosted
303-
version: "2.3.3"
303+
version: "2.3.6"
304304
video_player_avfoundation:
305305
dependency: transitive
306306
description:
307307
name: video_player_avfoundation
308308
url: "https://pub.dartlang.org"
309309
source: hosted
310-
version: "2.3.4"
310+
version: "2.3.5"
311311
video_player_platform_interface:
312312
dependency: transitive
313313
description:
314314
name: video_player_platform_interface
315315
url: "https://pub.dartlang.org"
316316
source: hosted
317-
version: "5.1.2"
317+
version: "5.1.3"
318318
video_player_web:
319319
dependency: transitive
320320
description:

lib/src/answer_format/boolean_answer_format.g.dart

+7-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/answer_format/date_answer_format.g.dart

+12-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/answer_format/double_answer_format.g.dart

+7-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/answer_format/integer_answer_format.g.dart

+5-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/answer_format/multiple_choice_answer_format.g.dart

+10-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)