booleanbites / houzi-support

Support forum repo for issues & bugs reported for Houzi Flutter App.
4 stars 0 forks source link

Signup feature is not working #54

Closed zaidshakhshir closed 1 year ago

zaidshakhshir commented 1 year ago

While signing up new customer i found the following error :

I/flutter ( 6487): uri: https://palaqar.site/wordpress/wp-json/houzez-mobile-api/v1/signup?app_version=1.2.0&houzi_version=1.2.0&app_build_number=1&app_platform=android
D/EGL_emulation( 6487): app_time_stats: avg=173.32ms min=3.57ms max=1336.35ms count=8
E/flutter ( 6487): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'String'
E/flutter ( 6487): #0      UserSignUpState.buttonSignUpWidget.<anonymous closure> (package:houzi_package/pages/home_screen_drawer_menu_pages/user_related/user_signup.dart:341:52)
E/flutter ( 6487): <asynchronous suspension>
E/flutter ( 6487): 
D/EGL_emulation( 6487): app_time_stats: avg=8.92ms min=3.62ms max=55.08ms count=32
AdilSoomro commented 1 year ago

Have you setup secret key on your plugin and in the hooks_v2.dart in the app? Refer Docs here: Setup App Secret

zaidshakhshir commented 1 year ago

Yes i did map the secret key with one in WP

AdilSoomro commented 1 year ago

Did you add this same key in hooks_v2.dart?

zaidshakhshir commented 1 year ago

image

image

AdilSoomro commented 1 year ago

You need to enable signup from worpress admin Settings.

zaidshakhshir commented 1 year ago

image

image

AdilSoomro commented 1 year ago

Are all the houzez plugin installed? Specially the Houzez Theme Functionality, Houzez Login Register?

What happens when you attempt signup on website?

zaidshakhshir commented 1 year ago

image

I enabled the feature here and now everything is OK thank you Adil