ocetnik / react-native-background-timer

Emit event periodically (even when app is in the background)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type com.ocetnik.timer.BackgroundTimerModule$2 is defined multiple times:

Dharm3438 opened this issue · comments

Current behavior

I am not able to build a release for android its giving below error

Type com.ocetnik.timer.BackgroundTimerModule$2 is defined multiple times: /home/mopharma/Downloads/fresh_hows_work/backgroundlocation_howswork/working_hows_work/Copy of HOWS WORK (1)/android/app/build/intermediates/transforms/FirebasePerformancePlugin/release/4/com/ocetnik/timer/BackgroundTimerModule$2.class, /home/mopharma/Downloads/fresh_hows_work/backgroundlocation_howswork/working_hows_work/Copy of HOWS WORK (1)/android/app/build/intermediates/transforms/FirebasePerformancePlugin/release/182/com/ocetnik/timer/BackgroundTimerModule$2.class

I already did clean rebuild project deleted the build and .gradle folders

also tried to exclude the package the package using the below code but then the app dosent works

    exclude group: 'com.facebook.react',module:'react-native-background-timer'

Expected behavior

I can build my release for android

Repro steps

Environment

  • Platforms tested:
    • Android
    • iOS
    • macOS
    • Windows
  • react-native-background-timer version: 2.2.0
  • Environment: Android
  • Logs/Errors that may be relevant:

bump - same issue

@ocetnik do you have any idea on this please discuss