Closed tracyli closed 12 years ago
@nukulb @rwmtse Is a space in the application id valid?
By convention this should be reverse domain name so like com.mycompany.myapp so spaces are not valid by convention for sure. I don't think spaces are allowed but I will let @rwmtse confirm
The fact that the app can be packaged and works when the application id contains space means the OS apparently doesn't care about the space? So it's really up to us to decide what is a good convention to use.
In my opinion, the reasons I can think of to allow space are:
Otherwise it's better to eliminate space since they tend to cause issues.
@rwmtse have you actually encountered a scenario where a space "causes and issue"?
@nukulb where does the convention of no spaces come from?
I don't think I have encountered an actual case where app id with space caused issues.
@kwallis I just saw this comment for id in the bar-descriptor.xml file in BB10 native SDK:
A universally unique application identifier. Must be unique across all BlackBerry applications. Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required.
We should provide this in our documentation as well as a recommendation. I don't necessarily want to enforce it though
cc @caseden
@caseden: When do you believe we can get a docs update out for this, to indicate that it is recommended that the id be a reverse DNS style name?
@rwmtse Will you be able to fix this for Beta2?
@kwallis Just to confirm that the fix is to allow space in id, correct? I think I can fix that.
We can put a suggestion in (to use the reverse domain format) probably by sometime next week.
Correct, allow space
----- Original Message ----- From: Rosa Tse [mailto:reply@reply.github.com] Sent: Friday, May 11, 2012 01:53 PM To: Ken Wallis Subject: Re: [BB10-Webworks-Packager] Error occurs during compilation when widget id includes space (#91)
@kwallis Just to confirm that the fix is to allow space in id, correct? I think I can fix that.
Reply to this email directly or view it on GitHub: https://github.com/blackberry/BB10-Webworks-Packager/issues/91#issuecomment-5656950
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Steps to reproduce: