Configure Values in the Source Code
Before you customize the build scripts for the application, you must configure certain project-specific values in the source code.
The folder that has been associated with the app is referred to in the source files by its unique Folder ID. You must configure the value of your project’s Folder ID in the code that you downloaded from the Git repo in the previous step.
- Open the File Store of the ZCDrive project in the Catalyst remote console. The File Store will display the Files folder that you created earlier.
- Copy the Folder ID of the Files folder from the File Store.
- Next, open the ZCDrive project in the Android Studio. You must paste this Folder ID in the following Kotlin files present in ZCDrive > app > src > main > java > com > catalyst > zcdrive directory, in the specified lines:
File Name | Line Number |
---|---|
DeleteDialog.kt | 18 |
PreviewFile.kt | 20 |
uploadDialog.kt | 21 |
UserFileDownloadManager.kt | 20 |
You must save the changes made. If your project’s Gradle prompts for a project sync, synchronize the files with the build.
The source files are now fully configured. We can now proceed to configure the build scripts for the app.
Last Updated 2024-04-05 23:41:34 +0530 +0530