Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6498

Misleading documentation in Android Quirks

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      As per the docs under the Android Quirks section:

      In your config.xml, you need to add the following preference
      
      `<preference name="splashscreen" value="foo" />`
      
      Where foo is the name of the splashscreen file. Preferably a 9 patch file. Make sure to add your splashcreen files to your res/xml directory under the appropriate folders.
      

      The documentation implies the splashscreen files go into the res/xml directory, but they actually go into the res/drawable folders instead. The file name is also optional (if not present, it defaults to splash.png) but this is not mentioned here.

        Attachments

        1. 0001-Fixed-doccument-issue.patch
          2 kB
          dharmendra sharma

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yiming.kuan Kuan Yi Ming
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: