dengage-tech / dengage-react-sdk

MIT License
2 stars 3 forks source link

No Entry Found In Dengage Big Data Table #5

Closed VinitBhavsar closed 3 years ago

VinitBhavsar commented 3 years ago

I Got an Entry In Master_Device Table From Both platforms, but We Are Facing Issues in Event Tracking.

let data = { name: "Test" } sendDeviceEvent('tableName', data).

I've Created Big Data Table with and Added a Column Of Name With Type Text.

How can I check if created Big Data Table Is In a Relationship With master_device table?

VinitBhavsar commented 3 years ago

@KamranKhankhail

I Checked Log From Xcode Where It Print Event API URL

It Triggers 2 Times

EVENT_API_URL is https://tr-event.dengage.com/api/event
EVENT_API_URL is https://tr-event.dengage.com/api/event/api/event

That's Why It Returns 404 Status

` API_RESPONSE

404 Not Found

404 Not Found


openresty/1.19.3.1

`

VinitBhavsar commented 3 years ago

@KamranKhankhail @whitehorse-technology Please Check EventCollectionService.swift file

where "/api/event" appended to urlAddress. That is the main issue.

In Package Setup, the User will set the Full URL in info.plist as per documentation.

Same goes for Android: FileName >>> DengageEvent.class

VinitBhavsar commented 3 years ago

@KamranKhankhail

I'll Update Here By Testing Below Changes

Mainfest.xml file <meta-data android:name="den_push_api_url" android:value="https://tr-event.dengage.com" />

And Same In info.plist file.