Can't connect to Ushahidi installation from Android App


#1

I installed Ushahidi at

http://www.yboby.cf

I followed instruction at

https://www.ushahidi.com/support/configure

But when i connect to site from Android app, i get following error message.

Problem Adding Deployment

I set the config.json and CORS as per instuction, you can see it at

boby@hon-pc-01:~$ curl -i http://www.yboby.cf/config.json
HTTP/1.1 200 OK
Date: Mon, 20 Nov 2017 02:49:11 GMT
Server: Apache/2.4.18 (Ubuntu)
Last-Modified: Sun, 19 Nov 2017 09:23:51 GMT
ETag: "d2-55e5287248eb4"
Accept-Ranges: bytes
Content-Length: 210
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
Access-Control-Expose-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range
Content-Type: application/json

{
client_id: "ushahidiui",
client_secret: "35e7f0bca957836d05ca0492211b0ac707671261",
backend_url: "http://yboby.cf/platform/",
google_analytics_id: "",
intercom_app_id: "",
mapbox_api_key: "",
raven_url: ""
}
boby@hon-pc-01:~$ 

Any idea why it is not working ?


#2

Put the config.json into platform/httpdocs and set the headers.

Then add the deployment in app using platform url like ‘yboby.cf/platform’


#3

It works with a config.json in the platform directory here, but what is the already existing config.json in the client used for then?
I am also wondering how this might work with a multi-deployment setup that apparently can use the same platform API for multiple clients.


#4

hey guys for me . it was working smooth on my android phone when it was running on android version 6.0.1 however as I have updated to android version 7.1.1 whenever now I am opening the app it only loads a blank screen on the start up and crashes after a while automatically. How do I fix it?

with regards
miles smith
viamichelin putlocker google earth