diff --git a/app/android/app/src/main/AndroidManifest.xml b/app/android/app/src/main/AndroidManifest.xml index 80cc0ff3f..7f009d892 100644 --- a/app/android/app/src/main/AndroidManifest.xml +++ b/app/android/app/src/main/AndroidManifest.xml @@ -1,15 +1,15 @@ - - + + - + - + @@ -28,49 +28,56 @@ + android:icon="@mipmap/ic_launcher" + android:label="StudyU"> + android:name="io.flutter.embedding.android.NormalTheme" + android:resource="@style/NormalTheme" /> - - + + - + + - + + - - + + - - + + - + @@ -88,8 +95,8 @@ In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> - - + + diff --git a/designer_v2/assets/images/step6.png b/designer_v2/assets/images/step6.png new file mode 100644 index 000000000..41677d851 Binary files /dev/null and b/designer_v2/assets/images/step6.png differ diff --git a/designer_v2/assets/images/step7.png b/designer_v2/assets/images/step7.png new file mode 100644 index 000000000..19d7f2824 Binary files /dev/null and b/designer_v2/assets/images/step7.png differ diff --git a/designer_v2/lib/features/design/fitbit/fitbit_credentials_form_view.dart b/designer_v2/lib/features/design/fitbit/fitbit_credentials_form_view.dart index 5159aa564..c85719d0c 100644 --- a/designer_v2/lib/features/design/fitbit/fitbit_credentials_form_view.dart +++ b/designer_v2/lib/features/design/fitbit/fitbit_credentials_form_view.dart @@ -65,7 +65,7 @@ class StudyDesignFitbitCredentialsFormView extends StudyDesignPageWidget { ), TextParagraph( text: - '4. Fill in the required fields such as application name, description, and callback URL (use: "https://example.com/callback").', + '4. Fill in the required fields such as application name, description, and callback URL (use: "studyu://").', ), TextParagraph( text: @@ -75,7 +75,18 @@ class StudyDesignFitbitCredentialsFormView extends StudyDesignPageWidget { text: '6. Submit the form to get your "Client ID" and "Client Secret".', ), - TextParagraph(text: '7. Copy and paste the credentials below.'), + InkWell( + onTap: () => _launchURL( + 'https://partners.fitbit.com/researchapplication'), + child: Text( + '7. Please fill the following form to obtain access for intraday data. Without this, you cannot obtain any data from Fitbit for your trials.', + style: TextStyle( + color: Theme.of(context).primaryColor, + decoration: TextDecoration.underline, + ), + ), + ), + TextParagraph(text: '8. Copy and paste the credentials below.'), const SizedBox(height: 12.0), _buildScreenshotsSection(context), const SizedBox(height: 16.0), @@ -194,6 +205,16 @@ class StudyDesignFitbitCredentialsFormView extends StudyDesignPageWidget { 'assets/images/step5.png', 'Step 5: Set Access', ), + _buildScreenshot( + context, + 'assets/images/step6.png', + 'Step 6: Get Credentials', + ), + _buildScreenshot( + context, + 'assets/images/step7.png', + 'Step 7: Fill Form', + ), ], ), ),