Gitlab fdroid build failing (Found blocklisted packages) (React-native cli)

Hello guys I need help with fdroid :sob: building for fdroid is painful.
It says that I have blocklisted packages like firebase that I didn’t install.

Here’s the build details : here

I’m suspecting the expo modules that contains these google crap or am wrong?

Here’s my yml file:

  - Time
  - Writing
License: MIT
AuthorName: Bahaa Tuffaha

AutoName: Closet-Archive
Description: Closet-Archive is an open-source app designed to assist people in organizing,
  categorizing, and, most importantly, logging their recent outfit choices. This functionality
  prevents the inadvertent repetition of clothing items, aids in laundry management,
  and offers various other features.

RepoType: git

  - versionName: '1.0'
    versionCode: 1
    commit: 06f6a39b20380dcd235c1f2a7dbc72614f29f7ec
    subdir: android/app
      - sysctl fs.inotify.max_user_watches=524288 || true
      - curl -Lo node.tar.gz
      - echo "b298a73a9fc07badfa9e4a2e86ed48824fc9201327cdc43e3f3f58b273c535e7 node.tar.gz"
        | sha256sum -c -
      - tar xzf node.tar.gz --strip-components=1 -C /usr/local/
      - mkdir ~/.npm-global
      - npm --global install yarn
    init: npm ci
      - yes
      - react-native-reanimated@3.3.0
    prebuild: echo -e '\n' 'org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError
      -Dfile.encoding=UTF-8' >> ../
      - node_modules/react-native-safe-area-context/android/build.gradle
      - node_modules/@react-native-community/push-notification-ios/android/build.gradle
      - node_modules/expo/android/build.gradle
      - node_modules/expo-application/android/build.gradle
      - node_modules/expo-asset/node_modules/expo-constants/android/build.gradle
      - node_modules/expo-asset/node_modules/expo-file-system/android/build.gradle
      - node_modules/expo-constants/android/build.gradle
      - node_modules/expo-file-system/android/build.gradle
      - node_modules/expo-font/android/build.gradle
      - node_modules/expo-keep-awake/android/build.gradle
      - node_modules/expo-modules-core/android/build.gradle
      - node_modules/react-native-blob-util/android/build.gradle
      - node_modules/react-native-get-random-values/android/build.gradle
      - node_modules/react-native-image-colors/android/build.gradle
      - node_modules/react-native-image-picker/android/build.gradle
      - node_modules/react-native-push-notification/android/build.gradle
      - node_modules/react-native-reanimated/android/build.gradle
      - node_modules/react-native-safe-area-context/android/build.gradle
      - node_modules/react-native-screens/android/build.gradle
      - node_modules/react-native-vector-icons/android/build.gradle
      - node_modules/redux-persist-filesystem-storage/node_modules/react-native-blob-util/android/build.gradle
      - node_modules/react-native/sdks/hermesc/linux64-bin/hermesc
      - node_modules/expo/android/build.gradle
      - node_modules/expo-application/android/build.gradle
      - node_modules/expo-constants/android/build.gradle
      - node_modules/expo-file-system/android/build.gradle
      - node_modules/expo-font/android/build.gradle
      - node_modules/expo-keep-awake/android/build.gradle
      - node_modules/expo-modules-core/android/build.gradle
      - node_modules

AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: '1.0'
CurrentVersionCode: 1

So Firebase is pulled in by some libs. You ignored it. See fdroid build (#5587408915) · Jobs · Bahaa Tuffaha / Data · GitLab

2023-11-21 15:44:21,481 INFO: Ignoring usual suspect 'com(\.google)?\.firebase[.:](?!firebase-jobdispatcher|geofire-java)' at node_modules/react-native-push-notification/android/build.gradle


it means you should remove the dependency:

Why is that needed anyway?

1 Like

For laundry reminder :sweat_smile: also to remind you to log what you wore today.

1 Like

And that needs an internet connection and Google servers? :slight_smile:

1 Like

Oh ok so I need to find an alternative then…?

1 Like

Can you say again how that works and what you need?

In short, this app is designed for closet / clothes management. One of its features allows users to log what they wear for specific events, and it includes a counter for each clothing item. Notifications will appear based on the number of times they’ve worn a particular item, with the option to specify when to receive these notifications (e.g., after 5 times), and they also have the ability to disable the notifications.

Example:(every 12 hours)
Title : “Keep Your Wardrobe Updated”
Message: “Don’t forget to log what you wore today!”

Also:(every day reminder if exist)
Message: “You have 3 items need laundry”

(Note: this is all locally I don’t use firebase).

Ok, and there’s no other “notification” lib than this one that depends on proprietary google firebase libs in RN?

Thank you … anyway now I know that this lib is bobby trapped with google crap :rofl: and now I need to find an alternative. :neutral_face:

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.