API_SECRET on Android App

I followed the mobile app directions for adding API_SECRET entry into the .env file in the Ninja root install (Took me a bit, had to turn on “show hidden files” in the cPanel file manager).

In the Android app settings, I enter the installation URL, my api secret, then get “Something went wrong. Undefined error occured.”. I tried adding/removing the “s” in http, as well as interchanging http://ninja.mydomain.com and http://mydomain.com/ninja but I either get “invalid URL” or the above undefined error. I triple checked my env file looks exactly as in the mobile apps docs, capitalization and everything.

Are there any errors in the logs in storage/logs/laravel-error.log

Just to confirm you have followed these instructions?

http://docs.invoiceninja.com/en/latest/mobile_apps.html

Sometimes the URL is re-written by the webserver to have /public in it as well.

Make sure the URL is EXACTLY the same as the web.

It’s a great app for mobile phones, I really like it, thank you.