-
Notifications
You must be signed in to change notification settings - Fork 4
Customize app for new institute
Akshay Kumar edited this page Jun 24, 2019
·
4 revisions
- Checkout new branch from master(
git checkout -b newInstituteName
) - Download google-services.json file & replace with existing file in app(
app/google-services.json
). - Replace custom images for institute.
- Update config.json file with institute details(Fields must needs to update
testpress_site_subdomain
,package_name
,app_name
,primary_color
,share_message
). - Optionally update
allow_anonymous_user
, etc.
Check this diff for further clarification https://github.com/testpress/android/compare/arise.
- Add below lines in
AndroidManifest.xml
file at<intent-filter>
onSplashScreenActivity
to support deep linking white labeled URL also.
<data android:scheme="https" android:host="@string/white_labeled_host_url" />
<data android:scheme="http" android:host="@string/white_labeled_host_url" />
- Update
white_labeled_host_url
,facebook_app_id
,server_client_id
in config.json file. Getfacebook_app_id
,server_client_id
from testpress site settings->Apps
->Social login
if already social login enabled, else enable it.
Check this diff for further clarification https://github.com/testpress/android/compare/mathiit.