Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Platform): [IOAPPFD0-12] Fix Android bundling #4160

Merged
merged 1 commit into from Nov 5, 2022

Conversation

francescopersico
Copy link
Contributor

Short description

Fix problem described here with the solution proposed here.

List of changes proposed in this pull request

How to test

@francescopersico francescopersico requested a review from a team as a code owner November 5, 2022 19:21
@pagopa-github-bot pagopa-github-bot changed the title fix(Platform): [IOAPPFD0-12] Fix Android bundling fix: [IOAPPFD0-12] Fix Android bundling Nov 5, 2022
@pagopa-github-bot
Copy link
Collaborator

Affected stories

  • 🐞 IOAPPFD0-12: Impossibile assemblare l'app su Android

Generated by 🚫 dangerJS against 3d539cb

@codecov
Copy link

codecov bot commented Nov 5, 2022

Codecov Report

Merging #4160 (3d539cb) into master (618225c) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4160   +/-   ##
=======================================
  Coverage   47.61%   47.61%           
=======================================
  Files        1275     1275           
  Lines       25181    25181           
  Branches     6601     6601           
=======================================
  Hits        11990    11990           
  Misses      13141    13141           
  Partials       50       50           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 618225c...3d539cb. Read the comment docs.

@francescopersico francescopersico changed the title fix: [IOAPPFD0-12] Fix Android bundling fix(Platform): [IOAPPFD0-12] Fix Android bundling Nov 5, 2022
@francescopersico francescopersico merged commit 0a64a92 into master Nov 5, 2022
@CrisTofani CrisTofani deleted the IOAPPFD0-12-fix-android-bundle branch November 7, 2022 11:11
LazyAfternoons added a commit that referenced this pull request Mar 12, 2024
> [!warning]
> Depends on #5506

## Short description
This PR updates the `build.gradle` file and removes a few workarounds
which are not needed anymore after the upgrade to RN 0.70.

## List of changes proposed in this pull request
- Removes `exclusiveContent` section, added in [this
PR](#4160) to address an issue with
`react-native`. Patched for version >`0.63` as indicated in the [related
issue](facebook/react-native#35210).
- Removes `mavenLocal()` repository which doesn't appear to be included
by default in the `build.gradle` since a few `react-native` version;
- Removes `configurations.all` section which was added by [this
PR](https://github.com/pagopa/io-app/pull/267/files) for a dependency,
`react-native-camera`, which we don't use anymore.

## How to test
We should be able to build Android. Test it by running: 
```
cd android && ./gradlew clean && cd .. 
yarn run-android 
```

---------

Co-authored-by: Cristiano Tofani <cri.tofani@gmail.com>
Co-authored-by: Mario Perrotta <mario.perrotta@pagopa.it>
Co-authored-by: Fabio Bombardi <16268789+shadowsheep1@users.noreply.github.com>
Co-authored-by: Federico Mastrini <federicomastrini93@gmail.com>
Co-authored-by: Damiano Plebani <damiano.plebani@pagopa.it>
Co-authored-by: Alice Di Rico <83651704+Ladirico@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants