android - Why does the Facebook ApplicationId need a space in front of the number in AndroidManifest.xml? -


When an Android app uses Facebook, the app ID Android Manifest Is included in XML (edit: it has been found that it is not recommended), the value should be in the form of its first letter, thus escaping from a backslash:

  & Lt; Meta-data android: name = "com.facebook.sdk.ApplicationId" Android: value = "\ 00000" />  

My question is, instead of leaving behind the backslash Why is it necessary?

Is this an obstacle, from which you can think that what you are doing is a price there? Is it to make sure that some parser considers it a string rather than a decimal number?

I will actually add an answer so that it can be accepted

Then, in your manifest:

  & lt; Meta-Data Android: name = "com.facebook.sdk.ApplicationId" Android: value = "@ string / APP_ID" />  

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -