booleanbites / houzi-support

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

Houzi Builder not working #37

Closed yendiscart closed 1 year ago

yendiscart commented 1 year ago

https://app.screencast.com/NzIkcBxWMlO69

Houzi Builder not working

AdilSoomro commented 1 year ago

The configurations the the builder is getting from your website Houzi Rest Api plugin is missing key app_name and few keys. Please add these key in the config on your website manually at root of your json.

{
"app_name": "emlak99",
"app_terms_url": "url",
"app_terms_of_use_url": "url",
"app_privacy_url": "url",
"wordpress_url_gdpr_agreement" : "url"
"company_url" : "url"
....
}

Or try deleting the json and then clearing the cache and then relaunch the Builder.

We'll fix this in upcoming release.

yendiscart commented 1 year ago
image

You mean I need to add it here or what? I don't understand the procedure

AdilSoomro commented 1 year ago

Yes, insert these keys at start after the first { curly bracket.

AdilSoomro commented 1 year ago

Can you download the version 1.0.2 from here: https://github.com/booleanbites/houzi-builder-release/releases/tag/1.0.2

and try that version?

yendiscart commented 1 year ago

Got it. What happen when you download json with increased version number? I see weird display and also my ads not showing. Also demo data still displaying even though it is turned off. Please fix this.

image
AdilSoomro commented 1 year ago

Version Number in config: every configuration changes contain a version number, when a configuration is applied to a running app, it saves the applied version number. On refresh or restart, if it receives the configurations with same version number, it will ignore it and continue its operations. If it receives the configurations with higher version number, then it'll apply the newer configurations to the app.

Ads: have you signed up at admob and got the app id and native ad ids?

What weird display and are you seeing? Which demo data are you seeing?

yendiscart commented 1 year ago

yes i have admob id and also added to the software but still no display. image image image

AdilSoomro commented 1 year ago

So what is weird in your screenshots?

yendiscart commented 1 year ago

It does not display my data as before. This is not how I have set it up to display. It is displaying something else and there is a Request for demo. image

AdilSoomro commented 1 year ago

The data on your website is missing lot of things. The properties aren't linked to the cities on your website. The request demo is coming from your configurations that you pasted to the config field in Houzi Rest Api plugin.

Keep in mind, Houzi Builder shows dummy data to show you how your app will look.

AdilSoomro commented 1 year ago

To setup admob, please follow the docs here: Google AdMob integration

yendiscart commented 1 year ago
image

I have set as instructed about admob. But failing to display.

Logs ``` ralloc3( 7840): mapper 3.x is not supported I/ViewRootImpl@cd54c48[MainActivity]( 7840): Relayout returned: old=(0,0,1080,2220) new=(0,0,1080,2220) req=(1080,2220)0 dur=7 res=0x3 s={true 481654874112} ch=false W/com.emlak.app( 7840): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed) W/ConnectionStatusConfig( 7840): Dynamic lookup for intent failed for action: com.google.android.gms.ads.service.START I/OpenGLRenderer( 7840): doUpdatePositionAsync is called and callVoidMethod I/Ads ( 7840): Ad failed to load : 3 I/flutter ( 7840): Ad load failed (code=3 message=Publisher data not found. ) I/flutter ( 7840): Filter Page Data Loaded/Modified... I/flutter ( 7840): Home Design Modified... I/flutter ( 7840): Building Home Carousel... I/flutter ( 7840): AppTrackingTransparency status: TrackingStatus.notSupported and UUID: D/DynamitePackage( 7840): Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl W/Ads ( 7840): Not retrying to fetch app settings I/flutter ( 7840): uri: https://xxxxxx.com/wp-json/houzez-mobile-api/v1/touch-base?app_version=1.0.1&houzi_version=1.1.5_1&app_build_number=2&app_platform=android&lang=en I/flutter ( 7840): uri: https://xxxx.com/wp-json/houzez-mobile-api/v1/search-properties?app_version=1.0.1&houzi_version=1.1.5_1&app_build_number=2&app_platform=android&lang=en D/DynamitePackage( 7840): Instantiating com.google.android.gms.ads.ChimeraAdLoaderBuilderCreatorImpl I/Ads ( 7840): Use RequestConfiguration.Builder().setTestDeviceIds(Arrays.asList("4B424C50217DAAD782C825476969ABB4")) to get test ads on this device. I/flutter ( 7840): uri: https://xxxx.com/wp-json/houzez-mobile-api/v1/search-properties?app_version=1.0.1&houzi_version=1.1.5_1&app_build_number=2&app_platform=android&lang=en W/com.emlak.app( 7840): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed) W/com.emlak.app( 7840): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) I/flutter ( 7840): uri: https://99emlak.com/wp-json/houzez-mobile-api/v1/get-terms?app_version=1.0.1&houzi_version=1.1.5_1&app_build_number=2&app_platform=android&term=property_city&lang=en W/com.emlak.app( 7840): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) W/com.emlak.app( 7840): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed) W/com.emlak.app( 7840): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed) W/com.emlak.app( 7840): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) I/flutter ( 7840): uri: https://xxxxxxx.com/wp-json/houzez-mobile-api/v1/get-terms?app_version=1.0.1&houzi_version=1.1.5_1&app_build_number=2&app_platform=android&term=property_type&lang=en W/com.emlak.app( 7840): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) I/flutter ( 7840): uri: https://xxxx.com/wp-json/wp/v2/agents?app_version=1.0.1&houzi_version=1.1.5_1&app_build_number=2&app_platform=android&page=1&per_page=16&lang=en W/Ads ( 7840): Not retrying to fetch app settings W/com.emlak.app( 7840): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) I/flutter ( 7840): uri: https://xxxx.com/wp-json/wp/v2/agencies?app_version=1.0.1&houzi_version=1.1.5_1&app_build_number=2&app_platform=android&page=1&per_page=16&lang=en I/Ads ( 7840): Ad failed to load : 3 I/flutter ( 7840): Ad load failed (code=3 message=Publisher data not found. ) I/ViewRootImpl@cd54c48[MainActivity]( 7840): Relayout returned: old=(0,0,1080,2220) new=(0,0,1080,2220) req=(1080,2220)0 dur=5 res=0x1 s={true 481654874112} ch=false I/flutter ( 7840): Filter Page Data Loaded/Modified... ```
AdilSoomro commented 1 year ago

Did you setup your app id in strings.xml?

houzi > android > app > src > main > res > values > strings.xml file, and look for google_ads_app_id. Replace its value with your own AdMob App ID.

yendiscart commented 1 year ago

Hello, I have done all these.

image image image image image
AdilSoomro commented 1 year ago

Hello, can you also confirm that, you’ve

  1. changed app identifier Refer Docs
  2. Integrate firebase. Even if you integrated before, you’ll need to download the firebase config file again and replace existing. Refer Docs
yendiscart commented 1 year ago

Let me remind you that my app has already been published on both google and appstore. I published it without admob and i would like to update with ads and change language parameters because I am using WPML. However, my ads are not displaying even after I have followed documentation as you can see from screenshots above.

AdilSoomro commented 1 year ago

As I already said in the message above, when you create an admob app, you need to link it to the firebase app, and you need to download the google info json again, because it contains the updated info about admob.

Have you downloaded the google info json after admob linking to your firebase?

yendiscart commented 1 year ago

Okay let me try this

AdilSoomro commented 1 year ago

Secondly, as you said your app has been published, did you also link your Google Play app in admob app?

yendiscart commented 1 year ago

Solved this issue. However, you need to solve Houzi software bug. when app has been changed, it keeps showing Houzi data or name.

AdilSoomro commented 1 year ago

Can you try the new version here: https://github.com/booleanbites/houzi-builder-release/releases/tag/1.0.2