diff --git a/app/build.gradle b/app/build.gradle index ff7e285..1465765 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,7 +12,7 @@ android { compileSdk 34 defaultConfig { - applicationId "in.sminnovations.hposregistration.prod" + applicationId "in.sminnovations.hposregistration" minSdk 26 targetSdk 34 versionCode 1 diff --git a/app/google-services.json b/app/google-services.json index e0afa5a..a593d99 100644 --- a/app/google-services.json +++ b/app/google-services.json @@ -1,41 +1,33 @@ { "project_info": { - "project_number": "1012719870714", - "project_id": "hpos-prod", - "storage_bucket": "hpos-prod.appspot.com" + "project_number": "650071678820", + "project_id": "hpos-af3cc", + "storage_bucket": "hpos-af3cc.appspot.com" }, "client": [ { "client_info": { - "mobilesdk_app_id": "1:1012719870714:android:2122895c593b5c1bde5f43", + "mobilesdk_app_id": "1:650071678820:android:f1435a1c07f710036c6471", "android_client_info": { "package_name": "com.example.hposconsentform" } }, "oauth_client": [ { - "client_id": "1012719870714-47951kfciei7suf9lkb8h9mih5511a49.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.example.hposconsentform", - "certificate_hash": "7714b9268a81d0cf0fb178b0af8dbb630f8fc70a" - } - }, - { - "client_id": "1012719870714-uli6cdjea3lfnnueh6e4r15i10ei1vlj.apps.googleusercontent.com", + "client_id": "650071678820-to41afi9f0gi5r3k6v7pe1e5p96nupcs.apps.googleusercontent.com", "client_type": 3 } ], "api_key": [ { - "current_key": "AIzaSyCr755mlFbEbjABXRCrhlJE25lBiuJ_eiE" + "current_key": "AIzaSyAVdNGCev_AFX0qmuZJF6kxzRzXUTeAW5I" } ], "services": { "appinvite_service": { "other_platform_oauth_client": [ { - "client_id": "1012719870714-uli6cdjea3lfnnueh6e4r15i10ei1vlj.apps.googleusercontent.com", + "client_id": "650071678820-to41afi9f0gi5r3k6v7pe1e5p96nupcs.apps.googleusercontent.com", "client_type": 3 } ] @@ -44,35 +36,35 @@ }, { "client_info": { - "mobilesdk_app_id": "1:1012719870714:android:ef0f9ee982d1e20ade5f43", + "mobilesdk_app_id": "1:650071678820:android:7569c1cad4fc99916c6471", "android_client_info": { - "package_name": "in.sminnovations.hposregistration.prod" + "package_name": "in.sminnovations.hposregistration" } }, "oauth_client": [ { - "client_id": "1012719870714-6bh1e40n7sn7e14obeqe06lbmn3r5qtr.apps.googleusercontent.com", + "client_id": "650071678820-70kp5jvjda4r5diqch2kn4lc40p4f42g.apps.googleusercontent.com", "client_type": 1, "android_info": { - "package_name": "in.sminnovations.hposregistration.prod", + "package_name": "in.sminnovations.hposregistration", "certificate_hash": "7714b9268a81d0cf0fb178b0af8dbb630f8fc70a" } }, { - "client_id": "1012719870714-uli6cdjea3lfnnueh6e4r15i10ei1vlj.apps.googleusercontent.com", + "client_id": "650071678820-to41afi9f0gi5r3k6v7pe1e5p96nupcs.apps.googleusercontent.com", "client_type": 3 } ], "api_key": [ { - "current_key": "AIzaSyCr755mlFbEbjABXRCrhlJE25lBiuJ_eiE" + "current_key": "AIzaSyAVdNGCev_AFX0qmuZJF6kxzRzXUTeAW5I" } ], "services": { "appinvite_service": { "other_platform_oauth_client": [ { - "client_id": "1012719870714-uli6cdjea3lfnnueh6e4r15i10ei1vlj.apps.googleusercontent.com", + "client_id": "650071678820-to41afi9f0gi5r3k6v7pe1e5p96nupcs.apps.googleusercontent.com", "client_type": 3 } ] @@ -81,35 +73,35 @@ }, { "client_info": { - "mobilesdk_app_id": "1:1012719870714:android:5bfc19f874284d77de5f43", + "mobilesdk_app_id": "1:650071678820:android:f96be19e5d43102b6c6471", "android_client_info": { - "package_name": "in.sminnovations.hpostesting.prod" + "package_name": "in.sminnovations.hpostesting" } }, "oauth_client": [ { - "client_id": "1012719870714-ucnt94gpjdrj8ac7rnkts9v5o2t6ae10.apps.googleusercontent.com", + "client_id": "650071678820-l87dnr0bdj95get0khgnvfv2an1k6ogq.apps.googleusercontent.com", "client_type": 1, "android_info": { - "package_name": "in.sminnovations.hpostesting.prod", + "package_name": "in.sminnovations.hpostesting", "certificate_hash": "7714b9268a81d0cf0fb178b0af8dbb630f8fc70a" } }, { - "client_id": "1012719870714-uli6cdjea3lfnnueh6e4r15i10ei1vlj.apps.googleusercontent.com", + "client_id": "650071678820-to41afi9f0gi5r3k6v7pe1e5p96nupcs.apps.googleusercontent.com", "client_type": 3 } ], "api_key": [ { - "current_key": "AIzaSyCr755mlFbEbjABXRCrhlJE25lBiuJ_eiE" + "current_key": "AIzaSyAVdNGCev_AFX0qmuZJF6kxzRzXUTeAW5I" } ], "services": { "appinvite_service": { "other_platform_oauth_client": [ { - "client_id": "1012719870714-uli6cdjea3lfnnueh6e4r15i10ei1vlj.apps.googleusercontent.com", + "client_id": "650071678820-to41afi9f0gi5r3k6v7pe1e5p96nupcs.apps.googleusercontent.com", "client_type": 3 } ] diff --git a/app/src/main/java/com/example/hposregistration/ui/fragments/registration/UserDetailsRegistrationFragment.kt b/app/src/main/java/com/example/hposregistration/ui/fragments/registration/UserDetailsRegistrationFragment.kt index 1e3aaf3..6394668 100644 --- a/app/src/main/java/com/example/hposregistration/ui/fragments/registration/UserDetailsRegistrationFragment.kt +++ b/app/src/main/java/com/example/hposregistration/ui/fragments/registration/UserDetailsRegistrationFragment.kt @@ -60,6 +60,7 @@ class UserDetailsRegistrationFragment : Fragment() { user.careOf.let { etCareof.setText(it) } user.maritalStatus.let { etIsMarried.setText(it, false) } user.caste.let { etCaste.setText(it) } + user.category.let { etCategory.setText(it) } user.subCaste.let { etSubCaste.setText(it) } user.house.let { etHouse.setText(it) } user.city.let { etCity.setText(it) } @@ -163,9 +164,9 @@ class UserDetailsRegistrationFragment : Fragment() { userData.maritalStatus = maritalStatus } - val category = etCaste.text.toString() + val category = etCategory.text.toString() if (category.isEmpty()) { - etCaste.error = "Please enter your category" + etCategory.error = "Please enter your category" return false } else { userData.category = category