android


Android referrer returns only first param


I have a link to my app:
https://play.google.com/store/apps/details?id=com.my.app&referrer=utm_source%3Dgoogle%26utm_medium%3Dcpc%26utm_term%3Dmyterm%26utm_content%3Dmyterm%26anid%3Dadmob
I'm catching it in the broadcast receiver:
public class ReferrerBroadcastReceiver extends BroadcastReceiver {
String TAG = getClass().getSimpleName();
#Override
public void onReceive(Context context, Intent intent) {
Log.d(TAG, "onReceive()");
String action = intent.getAction();
if (action.equals("com.android.vending.INSTALL_REFERRER")) {
if (intent.hasExtra("referrer")) {
String referrer = intent.getStringExtra("referrer");
Log.d(TAG, "referrer delivered: "+referrer);
}
}
}
and everything works fine on my device. But my client reports an issue: on his side the referrer looks like this:
ReferrerBroadcastReceiver: referrer delivered: utm_source=google
As you can see only first param is passed on both android 4.4.2 and 6.0. Why it works on my side but not on his? What can be the reason for the difference in behaviour and how to fix it? The url encoding seems ok.

Related Links

NPE in Custom list
Android: Boolean
Action Bar Button won't respond to Touch events
Android - how to launch the device “file system” programmatically?
Audio play sound Button problems in android
ExpandableListView child's radio button
Repeat Bitmap in drawBitmap
How to read a file from src/instrumentTest/resources directory in Android?
Using a fragment in ViewPager
Android proper wearkReference Use
Override back button with moveTaskToBack in Android 4.4.2 KitKat
Application disappeared from Google Play after changing title
Data from parse.com is not displayed when internet is unavailable (cache available)
If there isn't any external storage
Callback after sharing intent completes
How can I pass a custom object from one activity to another using putExtra()

Categories

HOME
object
gembox-spreadsheet
nested-if
iis-6
vert.x
qpython
distribution
jxl
comsol
cumulocity
package-managers
pyramid
rubymotion
ksh
libigl
href
gmock
paperjs
dst
jbutton
rselenium
sendbird
engine.io
imagenet
android-augmented-reality
typesafe-config
chef-solo
spring-mvc-test
apriori
parser-generator
logback-groovy
drupal-theming
apache-directory
strftime
lampp
datamaps
jqchart
otp
quicktime
payload
mouseleave
django-1.10
juice-ui
meteor-packages
custom-lists
redistributable
flex4.6
omniauth-facebook
project-organization
phpgrid
poppler
dulwich
bufferedinputstream
execve
beatsmusic
android-cookiemanager
deform
sql-scripts
machine-instruction
lambda-architecture
codeplex
parallel-testing
grails-plugin-rabbitmq
synapse
drupal-nodes
openargs
mt4j
asdf
cmmi
traceability
insert-id
preload
intersect
sentestingkit
jquery-blockui
qtconcurrent
rmiregistry
cgimage
luabind
jquery-tools
htdocs
uipagecontrol
jqueryform
zend-rest
opml
qtabbar
build-environment
sifr3
product-management

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App