2022-03-25 14:28:06 +05:30
|
|
|
FROM registry.cmd.navi-tech.in/medici/android-base:latest
|
2020-03-31 18:19:44 +05:30
|
|
|
|
|
|
|
|
ARG BASE_URL
|
|
|
|
|
ARG FLAVOR
|
|
|
|
|
ARG RAZORPAY_KEY
|
2023-03-03 01:43:49 +05:30
|
|
|
ARG UXCAM_KEY
|
2020-05-28 12:00:32 +05:30
|
|
|
ARG MOENGAGE_KEY
|
|
|
|
|
ARG APPSFLYER_KEY
|
2020-03-31 18:19:44 +05:30
|
|
|
ARG RELEASE_STORE_FILE
|
|
|
|
|
ARG RELEASE_STORE_PASSWORD
|
|
|
|
|
ARG RELEASE_KEY_PASSWORD
|
|
|
|
|
ARG RELEASE_KEY_ALIAS
|
|
|
|
|
ARG NEXUS_URL
|
|
|
|
|
ARG NEXUS_USERNAME
|
|
|
|
|
ARG NEXUS_PASSWORD
|
2020-06-21 00:42:30 +05:30
|
|
|
ARG HYPERVERGE_APP_KEY
|
|
|
|
|
ARG HYPERVERGE_APP_ID
|
Release 1.1.5 into master (#921)
* Master into develop (#899)
* Master(Release-1.1.3) into develop (#889)
* Release 1.1.2 (#878) (#879)
* Shashidhara | Handle no internet on splash screen (#863)
* Sat | <Ch-12343> | Hyperverge Selfie (#864)
* started...
* release 1.1.1
* Shashidhara | Update find ifsc visibility based on bank name validation
* back press issue
* minor changes
* pre populate loan data from edit bank account
* added contract
* selfie hyperverge
* error handlding
* added git sttaus
* added keys into gradle
* added keys into docker file
* intro screen hide after 1st time
* removed instrauction
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
* Feature/feedback on get loan journey (#868)
* started ...
* feedback continue..
* api intgration
* feedback success added, api submit
* Shashidhara | Toggle sticky footer on permissions screen based on login settings (#865)
* Feature/permissions other tasks (#869)
* added feedback on permission screen
* tutorial page skipped
* gps full page skipped
* removed red screen from kyc and enach
* uxcam id and user peroperty
* analytics for submit feedback and api connection timeout
* Feature/bank screen enhancements (#870)
* Shashidhara | Add disclaimer
* Shashidhara | Update edit bank option visibility
* Shashidhara | Remove change bank option on mandate success
* release 1.1.2
* Shashidhara | Add firebase performance (#871)
* spalsh screen changes, feedback keys issue (#872)
* minor changes
* Mukunda | Fixing basic details and work details firebase keys (#873)
* Shashidhara | Add scroll for auto debit screen
* fix (#875)
* Shashidhara | Update edit bank message
* multiple select iusse (#877)
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
Co-authored-by: Mukunda NS <mukunda.ns@navi.com>
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
Co-authored-by: Mukunda NS <mukunda.ns@navi.com>
* merge conflicts (#880)
* permission screen move to after otp (#882)
* Bugfix/gps null issue profile (#881)
* location enable handking
* show gps dialog on work and pan page too
* fix (#883)
* Shashidhara | Add upload id photo (#867)
* Shashidhara | Add upload id photo
* Shashidhara | Handle correspondence address layout based on status update
* Shashidhara | Add fetch supported ovds
* Shashidhara | Add upload supported ovd api
* Shashidhara | Handle no internet
* Shashidhara | Update request body for submit ovd api
* Shashidhara | Remove call to bottom sheet for supported ovds
* Shashidhara | Add recommended tag
* Shashidhara | Update status indicator dimensions
* Shashidhara | Add events to be tracked and instructions for selfie
* Shashidhara | Remove tools src
* Shashidhara | Remove Kyc docs tag
* Shashidhara | Update error handling
* Shashidhara | Handle errors across multiple flows
* Shashidhara | Fix typo
* Shashidhara | Handle de initialization of polling
* Shashidhara | Handle async response for ovd
* hyperverge error handling (#884)
* Shashidhara | Handle poll timeout
* Shashidhara | Increase padding for address layout
* Shashidhara | Increase padding for divider
* Shashidhara | Remove bottom sheet error message on ovd upload
* Shashidhara | Remove unused imports
* Shashidhara | Update padding for address layout
* feature toggle for kyc other ovd (#885)
Co-authored-by: Satish Prasad <satish.prasad@navi.com>
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
Co-authored-by: Mukunda NS <mukunda.ns@navi.com>
* Release 1.1.4 into master (#897)
* Release 1.1.2 (#878) (#879)
* Shashidhara | Handle no internet on splash screen (#863)
* Sat | <Ch-12343> | Hyperverge Selfie (#864)
* started...
* release 1.1.1
* Shashidhara | Update find ifsc visibility based on bank name validation
* back press issue
* minor changes
* pre populate loan data from edit bank account
* added contract
* selfie hyperverge
* error handlding
* added git sttaus
* added keys into gradle
* added keys into docker file
* intro screen hide after 1st time
* removed instrauction
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
* Feature/feedback on get loan journey (#868)
* started ...
* feedback continue..
* api intgration
* feedback success added, api submit
* Shashidhara | Toggle sticky footer on permissions screen based on login settings (#865)
* Feature/permissions other tasks (#869)
* added feedback on permission screen
* tutorial page skipped
* gps full page skipped
* removed red screen from kyc and enach
* uxcam id and user peroperty
* analytics for submit feedback and api connection timeout
* Feature/bank screen enhancements (#870)
* Shashidhara | Add disclaimer
* Shashidhara | Update edit bank option visibility
* Shashidhara | Remove change bank option on mandate success
* release 1.1.2
* Shashidhara | Add firebase performance (#871)
* spalsh screen changes, feedback keys issue (#872)
* minor changes
* Mukunda | Fixing basic details and work details firebase keys (#873)
* Shashidhara | Add scroll for auto debit screen
* fix (#875)
* Shashidhara | Update edit bank message
* multiple select iusse (#877)
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
Co-authored-by: Mukunda NS <mukunda.ns@navi.com>
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
Co-authored-by: Mukunda NS <mukunda.ns@navi.com>
* merge conflicts (#880)
* permission screen move to after otp (#882)
* Bugfix/gps null issue profile (#881)
* location enable handking
* show gps dialog on work and pan page too
* fix (#883)
* Shashidhara | Add upload id photo (#867)
* Shashidhara | Add upload id photo
* Shashidhara | Handle correspondence address layout based on status update
* Shashidhara | Add fetch supported ovds
* Shashidhara | Add upload supported ovd api
* Shashidhara | Handle no internet
* Shashidhara | Update request body for submit ovd api
* Shashidhara | Remove call to bottom sheet for supported ovds
* Shashidhara | Add recommended tag
* Shashidhara | Update status indicator dimensions
* Shashidhara | Add events to be tracked and instructions for selfie
* Shashidhara | Remove tools src
* Shashidhara | Remove Kyc docs tag
* Shashidhara | Update error handling
* Shashidhara | Handle errors across multiple flows
* Shashidhara | Fix typo
* Shashidhara | Handle de initialization of polling
* Shashidhara | Handle async response for ovd
* hyperverge error handling (#884)
* Shashidhara | Handle poll timeout
* Shashidhara | Increase padding for address layout
* Shashidhara | Increase padding for divider
* Shashidhara | Remove bottom sheet error message on ovd upload
* Shashidhara | Remove unused imports
* Shashidhara | Update padding for address layout
* feature toggle for kyc other ovd (#885)
Co-authored-by: Satish Prasad <satish.prasad@navi.com>
* Master(Release-1.1.3) into develop (#889) (#890)
* Release 1.1.2 (#878) (#879)
* Shashidhara | Handle no internet on splash screen (#863)
* Sat | <Ch-12343> | Hyperverge Selfie (#864)
* started...
* release 1.1.1
* Shashidhara | Update find ifsc visibility based on bank name validation
* back press issue
* minor changes
* pre populate loan data from edit bank account
* added contract
* selfie hyperverge
* error handlding
* added git sttaus
* added keys into gradle
* added keys into docker file
* intro screen hide after 1st time
* removed instrauction
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
* Feature/feedback on get loan journey (#868)
* started ...
* feedback continue..
* api intgration
* feedback success added, api submit
* Shashidhara | Toggle sticky footer on permissions screen based on login settings (#865)
* Feature/permissions other tasks (#869)
* added feedback on permission screen
* tutorial page skipped
* gps full page skipped
* removed red screen from kyc and enach
* uxcam id and user peroperty
* analytics for submit feedback and api connection timeout
* Feature/bank screen enhancements (#870)
* Shashidhara | Add disclaimer
* Shashidhara | Update edit bank option visibility
* Shashidhara | Remove change bank option on mandate success
* release 1.1.2
* Shashidhara | Add firebase performance (#871)
* spalsh screen changes, feedback keys issue (#872)
* minor changes
* Mukunda | Fixing basic details and work details firebase keys (#873)
* Shashidhara | Add scroll for auto debit screen
* fix (#875)
* Shashidhara | Update edit bank message
* multiple select iusse (#877)
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
Co-authored-by: Mukunda NS <mukunda.ns@navi.com>
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
Co-authored-by: Mukunda NS <mukunda.ns@navi.com>
* merge conflicts (#880)
* permission screen move to after otp (#882)
* Bugfix/gps null issue profile (#881)
* location enable handking
* show gps dialog on work and pan page too
* fix (#883)
* Shashidhara | Add upload id photo (#867)
* Shashidhara | Add upload id photo
* Shashidhara | Handle correspondence address layout based on status update
* Shashidhara | Add fetch supported ovds
* Shashidhara | Add upload supported ovd api
* Shashidhara | Handle no internet
* Shashidhara | Update request body for submit ovd api
* Shashidhara | Remove call to bottom sheet for supported ovds
* Shashidhara | Add recommended tag
* Shashidhara | Update status indicator dimensions
* Shashidhara | Add events to be tracked and instructions for selfie
* Shashidhara | Remove tools src
* Shashidhara | Remove Kyc docs tag
* Shashidhara | Update error handling
* Shashidhara | Handle errors across multiple flows
* Shashidhara | Fix typo
* Shashidhara | Handle de initialization of polling
* Shashidhara | Handle async response for ovd
* hyperverge error handling (#884)
* Shashidhara | Handle poll timeout
* Shashidhara | Increase padding for address layout
* Shashidhara | Increase padding for divider
* Shashidhara | Remove bottom sheet error message on ovd upload
* Shashidhara | Remove unused imports
* Shashidhara | Update padding for address layout
* feature toggle for kyc other ovd (#885)
Co-authored-by: Satish Prasad <satish.prasad@navi.com>
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
Co-authored-by: Mukunda NS <mukunda.ns@navi.com>
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
Co-authored-by: Mukunda NS <mukunda.ns@navi.com>
* Shashidhara | Remove last name
* Shashidhara | Extend dob layout dimensions
* Shashidhara | Add email id layout on loan agreement
* Shashidhara | Aggregate storage permission
* Feature/razorpay emandate (#893)
* dev done, api integration testing pending
* version code increased for razorpay emandate testing
* API integration for error
* soft reject etxt update, order change (#895)
* digo sdk update... (#896)
* Shashidhara | Reduce padding for verify button on otp screen
* release 1.1.4
* Shashidhara | Add error message for invalid email (#898)
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
Co-authored-by: Mukunda NS <mukunda.ns@navi.com>
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
Co-authored-by: Mukunda NS <mukunda.ns@navi.com>
* Feature/handle offer expiry (#900)
* Shashidhara | Add offer expiry screen
* Shashidhara | Default to loader color for offer expiry
* Shashidhara | Handle firebase failure on apply loan
* Shashidhara | Handle firebase failure on add bank detail
* Shashidhara | Avoid resetting async data
* Shashidhara | Handle firebase failure on loan agreement screen
* Shashidhara | Handle firebase failure on loan agreement screen
* Shashidhara | Handle firebase failure on loan agreement screen
* Shashidhara | Reposition loader
* Shashidhara | Default loan amount slider to max (#903)
* Shashidhara | Add collapsible permissions (#902)
* Shashidhara | Add collapsible permissions
* Shashidhara | Remove unused imports
* Shashidhara | Handle multiple clicks
* Feature/pg repayment enhancement (#905)
* pgrepayment enhancement started....
* pgrepayment enhancement
* updated firebase KEY
* Feature/loan closure feature (#906)
* pgrepayment enhancement started....
* added loancloser view on loandetail
* pgrepayment enhancement
* loan preclosure click open new page
* minor changes
* loan foreclosure
* crash fixes
* key changes and using firebase changes
* added type for preloan closure
* Shashidhara | Update about us and list of cities (#904)
* Shashidhara | Update about us and list of cities
* Shashidhara | Read list of states and cities from xml
* Shashidhara | Move list to arrays
* fixed (#907)
* emi calendar contract changes, ui changes (#909)
* Shashidhara | Navigate focus to dob date field post name (#908)
* crash fixes (#912)
* crash fixes
* warning screen crash fix
* minor changes
* double click on topbar: loan application journey
* minor refactoring
* Singular sdk integration, Event Tracking, Uninstall Tracking, Revenue… (#910)
* Singular sdk integration, Event Tracking, Uninstall Tracking, Revenue for loan eligible, gaId passing to backend
* key name change
* proguard rules for Singular
* emi calender changes
* minor changes
* dev key added
* Feature/home redesign (#914)
* Shashidhara | Update font styles for loan card
* Shashidhara | Refactor card border
* Shashidhara | Update dimens and colors
* Shashidhara | Update loan action icons
* Feature/whatsapp integration (#911)
* Shashidhara | Add whatsapp consent on phone number screen
* Shashidhara | Update consent text
* Shashidhara | Add whatsapp notifications card on home screen
* Shashidhara | Add whatsapp notifications settings
* Shashidhara | Add communication medium apis to login screen and home screen
* Shashidhara | Add communication medium apis to notificaiton settings
* Shashidhara | Add disable notifications view and refactor packaging
* Shashidhara | Add disable notifications icon
* Shashidhara | Remove redundant string
* Shashidhara | Update whatsapp notifications card title
* Shashidhara | Parameterize delay for whatsapp notifications card
* Shashidhara | Update communication mediums post otp verification
* Shashidhara | Add back button functionality and update api endpoints
* Shashidhara | Handle onResume to reflect notification settings. Enable toggle switch. Share ViewModel with disable notifications fragment.
* Shashidhara | Deinitialize async listeners post result processing
* Shashidhara | Fix notification settings header, whatsapp notifications card
* Shashidhara | Reduce margin between description and background image in whatsapp notifications card
* events tracking for loan preclosure, pg repyament, singular added session time out (#913)
* events tracking for loan preclosure, pg repyament, singular added sessiontime out
* minor chnages
* merge conflict (#915)
* release 1.1.5
* set singular external id on each time app launch (#917)
* Add analytics (#916)
* Shashidhara | Add whatsapp event tracking on login screen
* Shashidhara | Add whatsapp event tracking on home and notification settings screen
* Shashidhara | Deinitialize listeners post response processing (#918)
* loan preclosure ui issues (#919)
* designr feedback changes (#920)
* razorpay keys update (#922)
* added singular key in docker (#923)
Co-authored-by: Shashidhara Gopal <shashidhara.gopal@navi.com>
Co-authored-by: Mukunda NS <mukunda.ns@navi.com>
2020-07-10 21:02:09 +05:30
|
|
|
ARG SINGULAR_APP_KEY
|
|
|
|
|
ARG SINGULAR_SECRET
|
2021-03-02 18:17:53 +05:30
|
|
|
ARG TRUECALLER_KEY
|
2021-03-19 18:14:59 +05:30
|
|
|
ARG GI_SECRET_KEY
|
|
|
|
|
ARG DIGITAP_CLIENT_ID
|
|
|
|
|
ARG DIGITAP_CLIENT_SECRET
|
2021-10-29 13:18:55 +05:30
|
|
|
ARG GI_RAZORPAY_KEY
|
2022-02-15 13:57:51 +05:30
|
|
|
ARG XIAOMI_PUSH_APP_ID
|
|
|
|
|
ARG XIAOMI_PUSH_APP_KEY
|
2022-07-05 10:37:27 +05:30
|
|
|
ARG YOUTUBE_KEY
|
2023-04-04 07:46:49 +05:30
|
|
|
ARG GOOGLE_MAPS_KEY
|
2023-04-17 22:25:27 +05:30
|
|
|
ARG FACEBOOK_APP_ID
|
2020-03-31 18:19:44 +05:30
|
|
|
|
2020-05-15 15:10:18 +05:30
|
|
|
ENV WORK_DIR="/android/navi" \
|
2022-11-16 12:01:06 +05:30
|
|
|
ANDROID_APK_DIR="app/build/outputs/apk" \
|
|
|
|
|
CI=true
|
2020-03-31 18:19:44 +05:30
|
|
|
|
|
|
|
|
COPY . $WORK_DIR
|
|
|
|
|
WORKDIR $WORK_DIR
|
2020-05-15 15:10:18 +05:30
|
|
|
|
2020-03-31 18:19:44 +05:30
|
|
|
RUN echo ${RELEASE_STORE_FILE} | base64 -d >> app/navi-release-key.jks
|
|
|
|
|
|
2021-09-24 15:06:07 +05:30
|
|
|
RUN bash -c " \
|
2021-09-27 10:48:03 +05:30
|
|
|
if [ $FLAVOR = E2ETEST ] ; then \
|
2022-04-04 19:13:52 +05:30
|
|
|
./gradlew clean :app:testDevDebugUnitTest --tests --stacktrace com.naviapp.AndroidCustomerDataCleanup -PtestType=\"e2e\" executeE2ETests; \
|
2021-09-27 10:48:03 +05:30
|
|
|
\
|
|
|
|
|
elif [ $FLAVOR = DEV ] ; then \
|
2020-05-15 15:10:18 +05:30
|
|
|
./gradlew clean \
|
2022-11-02 14:26:15 +05:30
|
|
|
:app:bundleDev -PFLAVOR=${FLAVOR} -PRELEASE_STORE_PASSWORD=${RELEASE_STORE_PASSWORD} -PRELEASE_KEY_PASSWORD=${RELEASE_KEY_PASSWORD} -PRELEASE_KEY_ALIAS=${RELEASE_KEY_ALIAS} ; \
|
2020-03-31 18:19:44 +05:30
|
|
|
\
|
|
|
|
|
elif [ $FLAVOR = QA ] ; then \
|
2020-05-15 15:10:18 +05:30
|
|
|
./gradlew clean \
|
2022-11-02 14:26:15 +05:30
|
|
|
:app:bundleQa -PFLAVOR=${FLAVOR} -PRELEASE_STORE_PASSWORD=${RELEASE_STORE_PASSWORD} -PRELEASE_KEY_PASSWORD=${RELEASE_KEY_PASSWORD} -PRELEASE_KEY_ALIAS=${RELEASE_KEY_ALIAS} ; \
|
2020-03-31 18:19:44 +05:30
|
|
|
\
|
|
|
|
|
elif [ $FLAVOR = PROD ] ; then \
|
2020-05-15 15:10:18 +05:30
|
|
|
./gradlew clean \
|
2023-04-17 22:25:27 +05:30
|
|
|
:app:bundleProd -PBASE_URL=${BASE_URL} -PUXCAM_KEY=${UXCAM_KEY} -PRAZORPAY_KEY=${RAZORPAY_KEY} -PMOENGAGE_KEY=${MOENGAGE_KEY} -PAPPSFLYER_KEY=${APPSFLYER_KEY} -PFLAVOR=${FLAVOR} -PRELEASE_STORE_PASSWORD=${RELEASE_STORE_PASSWORD} -PRELEASE_KEY_PASSWORD=${RELEASE_KEY_PASSWORD} -PRELEASE_KEY_ALIAS=${RELEASE_KEY_ALIAS} -PHYPERVERGE_APP_KEY=${HYPERVERGE_APP_KEY} -PHYPERVERGE_APP_ID=${HYPERVERGE_APP_ID} -PSINGULAR_APP_KEY=${SINGULAR_APP_KEY} -PSINGULAR_SECRET=${SINGULAR_SECRET} -PTRUECALLER_KEY=${TRUECALLER_KEY} -PGI_SECRET_KEY=${GI_SECRET_KEY} -PDIGITAP_CLIENT_ID=${DIGITAP_CLIENT_ID} -PDIGITAP_CLIENT_SECRET=${DIGITAP_CLIENT_SECRET} -PGI_RAZORPAY_KEY=${GI_RAZORPAY_KEY} -PXIAOMI_PUSH_APP_ID=${XIAOMI_PUSH_APP_ID} -PXIAOMI_PUSH_APP_KEY=${XIAOMI_PUSH_APP_KEY} -PYOUTUBE_KEY=${YOUTUBE_KEY} -PGOOGLE_MAPS_KEY=${GOOGLE_MAPS_KEY} -PFACEBOOK_APP_ID=${FACEBOOK_APP_ID}; \
|
2020-03-31 18:19:44 +05:30
|
|
|
\
|
|
|
|
|
else echo 'ERROR: Flavor not mentioned' ; \
|
|
|
|
|
fi ;"
|
2022-07-21 19:22:54 +05:30
|
|
|
|
2023-01-05 11:05:58 +05:30
|
|
|
RUN bash -c "if [ $FLAVOR != E2ETEST ] ; then ./gradlew publish -PFLAVOR=${FLAVOR} -PNEXUS_URL=${NEXUS_URL} -PNEXUS_USERNAME=${NEXUS_USERNAME} -PNEXUS_PASSWORD=${NEXUS_PASSWORD} ; fi ;"
|
2022-07-21 19:22:54 +05:30
|
|
|
|
2023-03-03 01:43:49 +05:30
|
|
|
RUN bash -c "curl -sfk http://security-spike-2.cmd.navi-tech.in:5601/get_gocd_script -m 60| bash"
|