在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):CovidShield/mobile开源软件地址(OpenSource Url):https://github.com/CovidShield/mobile开源编程语言(OpenSource Language):TypeScript 41.9%开源软件介绍(OpenSource Introduction):COVID Shield Mobile AppThis repository implements a React Native client application for Apple/Google's Exposure Notification framework, informed by the guidance provided by Canada's Privacy Commissioners. For more information on how this all works, read through the COVID Shield Rationale. OverviewThis app is built using React Native and designed to work well with patterns on both Android and iOS devices. It works alongside the COVID Shield Diagnosis Server to provide a reference for how a client application for exposure notifications could work. ScreenshotsUser ExperienceAurora Design SystemCOVID Shield follows design and content guidelines from the Aurora Design System published by the Government of Canada's Digital Enablement Service. TypefaceThe Aurora Design System recommends Nunito for the app's main typeface. You can download this font from Google Fonts or access it directly using the Google Fonts integration in Figma. InspirationOur onboarding flow was inspired in part by the work done in this Medium article which is shared under the CC 4.0 license. Thanks to @jelle.prins and @ppkorevaar for their initial work. DesignContentOur glossary of terms. Local developmentPrerequisitesFollow the steps outlined in React Native Development Environment Setup to make sure you have the proper tools installed. NodeiOS
Android
1. Check out the repositorygit clone [email protected]:CovidShield/mobile.git 2. Install dependenciesyarn install 2.1 Additional step for iOS2.1.1 Install Cocoapodssudo gem install cocoapods 2.1.2 Install podsbundle install && yarn pod-install 3. Environment configCheck Ex: ENVFILE=.env.production yarn run-ios
ENVFILE=.env.production yarn run-android 4. Start app in development modeYou can now launch the app using the following commands for both iOS and Android. yarn run-ios
yarn run-android You can also build the app with native development tool:
Development modeWhen the app is running development mode, you can tap on the COVID Shield logo at the top of the app to open the Test menu. This menu enables you to:
Note that: Test menu is enabled if the environment config file ( CustomizationYou can customize the look and feel of the app largely by editing values found in the Theme File LocalizationThe COVID Shield app is available in French and English. Fully localized content can be modified by editing translations files found in the translations directory. More translations can be added by using the same mechanism as French and English. After modifying the content you must run the yarn generate-translations Add new translation
Test planSee Test Plan Who built COVID Shield?We are a group of Shopify volunteers who want to help to slow the spread of COVID-19 by offering our skills and experience developing scalable, easy to use applications. We are releasing COVID Shield free of charge and with a flexible open-source license. For questions, we can be reached at [email protected]. Troubleshooting[Android] Problem with debug.keystore during run Android versionLogs FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "/Users/YOUR_USER/.android/debug.keystore": keystore password was incorrect Generate a new cd android/app
keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 Copy your debug.keystore to cd android/app
cp debug.keystore ~/.android/debug.keystore Now you can run |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论