apptentive / apptentive-android

Apptentive Android SDK
http://www.apptentive.com
BSD 3-Clause "New" or "Revised" License
65 stars 64 forks source link

Apptentive Internet Connection Issue? #107

Closed asmenter15 closed 8 years ago

asmenter15 commented 8 years ago

Upgraded to Android sdk v2.0.1 today. For some reason when I get to the Message Center I am getting the message "Please connect to the internet to send feedback", even though I clearly have internet access. I am using..

compileSdkVersion 23 buildToolsVersion '23.0.1' minSdkVersion 16 targetSdkVersion 23

skykelsey commented 8 years ago

Thanks Aaron, This was a temporary issue affecting our server, and has been resolved. Sky

newmskywalker commented 8 years ago

I'm having the same issue:

compileSdkVersion 22 buildToolsVersion 22.0.1 minSdkVersion 14 targetSdkVersion 22

Apptentive sdk v2.0.1

(upgrading to buildtools 23.0.1 isn't an option at the moment)

Any ideas?

serenskye commented 8 years ago

I am having the same issue as well.

compileSdkVersion 23 buildToolsVersion 23.0.1 minSdkVersion 14 targetSdkVersion 23 Apptentive 2.0.1 (AAR)

bromeostasis commented 8 years ago

Has anyone figured this out? Having the same issue...

skykelsey commented 8 years ago

Hello,

Are you seeing this error screen for an extended period after you launch the app? In order to allow customization of Message Center, we download configuration from our server before allowing Message Center to be displayed. Sometimes, if you launch the app for the first time and immediately open Message Center, we haven't had a chance to fetch configuration yet. While this can be annoying during development, it's very unlikely that an end-user will launch your app for the first time and immediately try to open Message Center.

Please let me know if you are launching the app, it's online, and after more than about 15 seconds, opening Message Center still displays this error page. It would most likely be due to temporary high server load, but if it's an SDK issue we will look into it.

Thanks! Sky

bromeostasis commented 8 years ago

@skykelsey I've just tried this even after waiting for the app to launch and run for 15+ seconds and I'm still getting the failure.

Some initial hunches:

Let me know if you need any more details!

bromeostasis commented 8 years ago

@skykelsey

Okay, so we recently upgraded to apptentive version 2, and we were previously using the project id to determine our project. I re-read the integration guide and noticed it mentioned to use the api key in settings to denote the project. I made this switch and am good to go.

For future reference, when adding the plugin, do not use the id in the url of your project:

https://be.apptentive.com/apps/12312312312312 <<<<

Do use the key in settings -> api key.

Thanks for your help!

image