Uploaded image for project: 'PUBLIC - Liferay Mobile Apps'
  1. PUBLIC - Liferay Mobile Apps
  2. MOBILE-826

Application crashes due to a fragment ClassCastException when proguard is enabled.

    Details

      Description

      Sometimes, proguard obfuscates two classes from different packages replacing their names by the same name.
      Since we are using class.getSimpleName() as Fragment's TAGs, sometimes we get a ClassCastException when the method findFragmentByTag(TAG) is called, because the wrong class is returned.

        Attachments

          Activity

            People

            Assignee:
            igor.oliveira Igor Oliveira (Inactive)
            Reporter:
            igor.oliveira Igor Oliveira (Inactive)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Liferay Sync Android 3.0