Bug 19978 - Default Package Name should start with lowercase character (for GCM)
Summary: Default Package Name should start with lowercase character (for GCM)
Status: CONFIRMED
Alias: None
Product: Android
Classification: Xamarin
Component: General (show other bugs)
Version: 4.13.x
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2014-05-21 18:03 UTC by Jon Dick
Modified: 2014-05-22 08:39 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Jon Dick 2014-05-21 18:03:21 UTC
By default if I name my android app say My.App the package name will be the same by default.

However, if you try to add GCM capabilities, let's say using the GCM.Client component (http://components.xamarin.com/view/GCMClient), when the permissions for GCM get added, and your package name does not start with a lowercase character, you will receive a deployment error like this poor fellow: http://forums.xamarin.com/discussion/16934/azure-messaging-problem-with-installing-apk#latest

Long story short is, you can't have an upper case character to start your package name if you want to use GCM.  This is a problem on Java as well, it's not just a problem with our platform.

So, to avoid this type of situation, can we change the default package name that gets generated to at least lowercase the first character?
Comment 1 Prashant manu 2014-05-22 04:03:28 UTC
We have checked and observing same behavior. After adding GCM.Client component we are getting deployment error:

Deployment failed because of an internal error: Unexpected install output: 	pkg: /data/local/tmp/My.App1-Signed.apk
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

Screencast: http://www.screencast.com/t/ZCebIlmNiZ

Supplement Info:
https://gist.github.com/saurabh360/9c0447a6413dc12081f9

Environment info:
Xamarin Studio Version 5.0 (build 876) 
Git revision: 892675cba83be2d00954bfdf22dd8a29e6a47502
Xamarin addins: c62ebd0f0c296c5773c7b92ad06d5b5b487f40e8
Xamarin.Android 4.12.4.19 (c3dc121f5cbf78efd73da081c92be2c126dc4f1d)

Note You need to log in before you can comment on or make changes to this bug.