adonespitogo / AdoBot

Open-source android spyware
MIT License
812 stars 312 forks source link

Bot unable to connect to Heroku app #13

Open Mera-balou opened 6 years ago

Mera-balou commented 6 years ago

Dear Adones,

First of all, thank you for your work. I must admit that i'm pretty new in android dev, and i don't manage to connect my phone to my AdoBot-IO server ("No bots yet").

Here what i have done:

I remove if (!BuildConfig.DEBUG) hideApp();, as specified in an older issue.

And i must add this code inside build.gradle android section, to avoid lint update check :

  lintOptions {
        checkReleaseBuilds false
        // Or, if you prefer, you can continue to check for errors in release builds,
        // but continue the build even when errors are found:
        abortOnError false
    }

Then, apk is built and i install it on my phone which has an internet connexion. When i launch the app, i specify the heroku app url (delire.herokuapp.com). Then app icon is hiding.

Ok, but my bot list keeps staying empty in my heroku app website...

Do you have any ideas? Do you have few time to verify your code with last android studio release and update code/instructions if needed? Maybe, an apk can be released to test if there is no other way to investigate.

Thanks for your support and your contribution to this project.

Regards,

adonespitogo commented 6 years ago

I think you must include https:// when entering your heroku domain if memory serves.

Mera-balou commented 6 years ago

You mean in the app? Yes, the first time, i have set my heroku app with https protocol : https://delire.herokuapp.com Do you have same log as mine git-push.txt when you deploy your app (git push heroku master) ?

Mera-balou commented 6 years ago

Ok, it works... Just wait a few hours, maybe for heroku to deploy? But i have access to the website... Finally, my smartphone bot is online. Anyway, i have another question about location functionality. Google map is displayed on server but smartphone device is not located (longitude and latitude remain 0,0).

So i create a project in my google dev dashboard, and:

@navedanjum and @adonespitogo, am I missing anything ? Must i change something in the apk code too?

Thanks

ghost commented 6 years ago

I could not remember exact change and don't have access to it at this time. To answer in short, it worked for me after making changes in APK code location monitor.

Mera-balou commented 6 years ago

@navedanjum, thanks for your answer. But still don't see what changes "LocationMonitor.java" file need... When you'll have few time and access to your code, i would appreciate if you can share (or pull request?) theses modifications.

kalpinus commented 6 years ago

@Mera-balou did you fix the problem with LocationMonitor.java ? I can not find what to change to fix Map Development issue. Care to share?