Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2980

Phonegap Build auto-generated activity name causes problem for apps with non-latin names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.6.1
    • Fix Version/s: 3.7.0
    • Component/s: Phonegap Build
    • Labels:
    • Testing Instructions:
      Hide

      This issue only needs to be tested in Android.

      1. First of all, check that the build in Phonegap Build doesn't fail.
      2. Install the app in an Android device.
      3. With the app active, enable "multi-app". To do so, just hold the multi-task button (the square one) until the app is resized to fill half of the screen or so. Check that the app isn't restarted when doing so. 
      Show
      This issue only needs to be tested in Android. First of all, check that the build in Phonegap Build doesn't fail. Install the app in an Android device. With the app active, enable "multi-app". To do so, just hold the multi-task button (the square one) until the app is resized to fill half of the screen or so. Check that the app isn't restarted when doing so. 
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Sprint:
      Moodle App 3.7.0

      Description

      If the app name contains arab, chinese, japanese or other non-latin alphabet the following directive in the PB config.xml file fails

      <edit-config file="AndroidManifest.xml" target="/manifest/application/activity[@android:name='___________________']" mode="merge">

      An easy workaround is just to replace the characteres by "_" (after removing white spaces) like for example:

      بوابة المستقبل - تلمذة ->
      بوابةالمستقبل-تلمذة ->
      ___________________ (19 characteres after removing white spaces)

        Attachments

          Activity

            People

            • Assignee:
              dpalou Dani Palou
              Reporter:
              jleyva Juan Leyva
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                7/Jun/19