Open Mera-balou opened 6 years ago
I think you must include https://
when entering your heroku domain if memory serves.
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
) ?
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:
.config(['uiGmapGoogleMapApiProvider', function(uiGmapGoogleMapApiProvider) {
var config = {
key: 'my-API-key-just-created-in-google-dev-dashboard',
v: '3.26', //defaults to latest 3.X anyhow
libraries: 'weather,geometry,visualization'
}
if ((/herokuapp/).test(window.location.host))
config.key = 'my-API-key-just-created-in-google-dev-dashboard'
uiGmapGoogleMapApiProvider.configure(config);
}])
@navedanjum and @adonespitogo, am I missing anything ? Must i change something in the apk code too?
Thanks
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.
@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.
@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?
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:
set up my heroku app (delire.herokuapp.com) seems to be realised. Here my windows git log when i push to heroku master : git-push.txt And i access to my app (
heroku open
) without problems after sign-in.compile AdoBot apk is done with android studio (signed apk with my own keystore). Android studio asks me to update a lot of files to be able to sync project. Then, i must edit build.gradle:
compile 'com.android.support:appcompat-v7:25.4.0'
(version has been changed).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 :
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,