You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+125-26
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,23 @@ This sample application leverages TheraForge frameworks such as [OTFTemplateBox]
7
7
For more details on the features of the SDK and on the TheraForge Cloud setup process (e.g., to obtain an API key), refer to the [OTFToolBox](../../../OTFToolBox) Readme file.
8
8
9
9
## Change Log
10
-
* Release 1.0.0-beta: First beta release of the template app
11
-
* Release 1.0.1-beta: Removed warnings, improved profile section, added UI samples and made various other improvements
12
10
* Release 1.0.2-beta:
13
11
* Made the application more configurable by adding color, font, font weight, background color in the yaml file.
14
12
* Added app localization capabilities in the yaml file.
15
13
* Consolidated multiple yaml files into two.
16
14
* Added support for user account deletion to make the app more GDPR compliant.
17
15
* Added CI/CD workflow to automate testing and deployment in TestFlight using GitHub Actions. Updated documentation with the required configuration steps.
18
16
* Various fixes and improvements.
17
+
<details>
18
+
<summary>Release 1.0.1-beta</summary>
19
+
Removed warnings, improved profile section, added UI samples and made various other improvements
20
+
21
+
</details>
22
+
23
+
<details>
24
+
<summary>Release 1.0.0-beta</summary>
25
+
First beta release of the template app
26
+
</details>
19
27
20
28
# Table of Contents
21
29
@@ -25,7 +33,7 @@ For more details on the features of the SDK and on the TheraForge Cloud setup pr
25
33
*[Usage](#app-usage)
26
34
*[Registration on Apple Developer Portal](#registration-on-apple-developer-portal)
27
35
*[Xcode Setup](#xcode-setup)
28
-
*[CI/CD Setup](#ci-cd-setup)
36
+
*[CI/CD Setup](#cicd-setup)
29
37
*[License](#license)
30
38
31
39
# Overview
@@ -148,12 +156,15 @@ Outcome is automatically synchronized securely across the cloud to all devices:
148
156
149
157
The MagicBox app installation process requires the installation of the ToolBox SDK and so it is similar to the process described in the [OTFToolBox](../../../OTFToolBox) Readme file.
150
158
151
-
*[Prerequisites](#prerequisites)
152
-
*[App Setup](#app-setup)
159
+
*[Prerequisites](#Prerequisites)
160
+
*[App Setup](#App-Setup)
153
161
154
-
## Prerequisites
162
+
## Prerequisites <aname="Prerequisites"></a>
155
163
156
-
An Intel-based Mac running [macOS Catalina 10.15.4 or later](https://developer.apple.com/documentation/xcode-release-notes/xcode-12-release-notes) or a Mac with Apple's M1 Silicon running [macOS 11 Big Sur](https://developer.apple.com/documentation/xcode-release-notes/xcode-12_2-release-notes). macOS 12 Monterey and Xcode 13 are supported.
164
+
- macOS Catalina 10.15.4 (Intel) or macOS 11 Big Sur (Apple Silicon)
165
+
- Xcode 13.0 or later
166
+
- CocoaPods
167
+
- iOS 14.0 or later
157
168
158
169
### 1. Installation Prerequisites
159
170
@@ -163,7 +174,7 @@ In order to develop iOS apps, make sure to download Xcode, Apple's Integrated De
163
174
164
175
If you haven't done it yet, follow this [Xcode article](https://medium.nextlevelswift.com/install-and-configure-xcode-7ed0c5592219) to install and configure it.
165
176
166
-
(Note that in case of Xcode 13.2 Apple recommends to download it directly from the Apple Developer web sitehttps://developer.apple.com/download/all/?q=Xcode. Some developers consider this installation method *preferable for all versions of Xcode*, that is, it’s considered a best practice. However, in this case you also need to install the *Command Line Tools for Xcode*, which are a separate download.)
177
+
(Note that in case of Xcode 13.2 Apple recommends to [download it directly from the Apple Developer web site](https://developer.apple.com/download/all/?q=Xcode). Some developers consider this installation method *preferable for all versions of Xcode*, that is, it’s considered a best practice. However, in this case you also need to install the *Command Line Tools for Xcode*, which are a separate download.)
@@ -211,7 +222,7 @@ Refer to our [Cocoapods Installation](Docs/Cocoapods.md) page for prerequisites,
211
222
212
223
After successful installation of `git-lfs` and Cocoapods, you can install the MagicBox app.
213
224
214
-
## App Setup
225
+
## App Setup <aname="App-Setup"></a>
215
226
216
227
### 1. Create the Developer Directory and a Project Subdirectory
217
228
@@ -252,17 +263,25 @@ Next, copy the URL of MagicBox's repository in GitHub to clone it. Remember to s
252
263
253
264
This is the URL that you should get from GitHub:
254
265
255
-
`https://github.com/TheraForge/OTFMagicBox.git`
266
+
```
267
+
https://github.com/TheraForge/OTFMagicBox.git
268
+
```
256
269
257
270
### 3. Clone MagicBox's Repository to Install the App
258
271
259
272
Then go back to the Terminal app in the `Developer` directory and enter `git clone` followed by the repository URL you just copied in the previous step:
To customize the onboarding process, go to the onboarding section in the `AppSysParameters.yml` file and add as many onboarding pages as you need. You can add the image types of your choice such as Emoji, SF Symbols and assets. In the description you can write the text explaining each particular onboarding page:
To customize the onboarding process, go to the onboarding section in the `ModuleAppSysParameter.yml` file and add as many onboarding pages as you need. You can add the image types of your choice such as Emoji, SF Symbols and assets. In the description you can write the text explaining each particular onboarding page:
417
+
418
+
```yml
419
+
# ModuleAppSysParameter.yml
420
+
421
+
onboarding:
422
+
- image: "Splash Image"
423
+
icon: "stethoscope"
424
+
title: "Welcome to MagicBox"
425
+
color: "Black"
426
+
description: "Your health care app"
427
+
428
+
- image: "Splash Image"
429
+
icon: "speedometer"
430
+
title: "This is another custom onboarding step"
431
+
color: "Black"
432
+
description: "MagicBox allows you to customize the onboarding experience with custom steps"
433
+
```
368
434
369
435
## Customize Consent
370
436
371
-
To customize the Consent process of your application go to the Consent section in the `AppSysParameters.yml` file and add/modify the required sections. Follow the instructions given in the yaml file to add the correct type of consent sections:
437
+
To customize the Consent process of your application go to the Consent section in the `ModuleAppSysParameter.yml` file and add/modify the required sections. Follow the instructions given in the yaml file to add the correct type of consent sections:
## Custom Consent Section, if you want to display this in your application then assign true value otherwise false for the "show" key.
443
+
- show: "true"
444
+
summary: "This is custom section."
445
+
content: "Describe here what the user is consenting to in this step of the onboarding"
446
+
```
374
447
375
448
## Customize Registration and Login
376
449
377
-
Go to the Registration section in the `AppSysParameters.yml` file and change the settings for *Date Of Birth* and *Gender* to `true` if you want to display those fields in your Registration form, otherwise set them to `false`:
450
+
Go to the Registration section in the `ModuleAppSysParameter.yml` file and change the settings for *Date Of Birth* and *Gender* to `true` if you want to display those fields in your Registration form, otherwise set them to `false`:
passcodeText: "Now you will create a passcode to identify yourself to the app and protect access to information you have entered."
485
+
486
+
# Property passcodeType value can be either "4" or "6" only, which describes the number of digits for the passcode.
487
+
passcodeType: "4"
488
+
```
394
489
395
490
396
491
## Enable CareKit
397
492
398
493
If your application requires support for tasks (for example, for a care plan) and contacts, then enable the `useCareKit` key, which allows you to display the contacts and list the tasks of the patients:
0 commit comments