Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

CodePush does not work if CODE_PUSH_APK_BUILD_TIME is inside a DFM #2308

@saihemanth121

Description

@saihemanth121

Platform: Android

I have an Android Project where react-native components are part of a Dynamic Feature Module (DFM). CodePush works if CODE_PUSH_APK_BUILD_TIME is added as resValue to defaultConfig in base module. But it affects incremental builds and build caching since it changes every build, so I tried moving it to the DFM where all other react-native components are along with codepush dependency. This breaks codepush as CodePush.java is using base package name (instead of DFM package name) to get the resource identifier for CODE_PUSH_APK_BUILD_TIME.

Is there any other way to keep CODE_PUSH_APK_BUILD_TIME out of base module?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions