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)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 19978 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

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)