Skip to content

Conversation

@Guardiola31337
Copy link
Contributor

Description

Adds Proguard rule to prevent obfuscation of route (DirectionsRoute) properties

cc @ikryvanos

@Guardiola31337 Guardiola31337 added Core Work related to core navigation and integrations. needs backporting Requires cherry-picking to a currently running release branch bug 🪲 labels Dec 19, 2022
@Guardiola31337 Guardiola31337 self-assigned this Dec 19, 2022
@Guardiola31337 Guardiola31337 enabled auto-merge (squash) December 19, 2022 17:48
@codecov
Copy link

codecov bot commented Dec 19, 2022

Codecov Report

Merging #6762 (85b0f65) into main (cf4c8ea) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main    #6762   +/-   ##
=========================================
  Coverage     72.49%   72.49%           
  Complexity     5522     5522           
=========================================
  Files           772      772           
  Lines         29924    29924           
  Branches       3535     3535           
=========================================
  Hits          21694    21694           
  Misses         6814     6814           
  Partials       1416     1416           

@@ -1,0 +1 @@
-keepnames class com.mapbox.api.directions.v5.models.** {*;}
Copy link
Contributor

@dzinad dzinad Dec 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like it would be better to put this line into the consumer file of the original SDK.
Questions:

  1. Is it possible for Java, not Android?
  2. Why do you keep only the models package?
  3. Why do you need to keep that at all?

Maybe it's all described somewhere but I don't see links to any tickets.

Guardiola31337 pushed a commit that referenced this pull request Jan 12, 2023
* fix copilot unrecognized fields serialization (#6821)

* [copilot] add proguard rule to prevent obfuscation of route properties (#6762)
Guardiola31337 pushed a commit that referenced this pull request Jan 12, 2023
* fix copilot unrecognized fields serialization (#6821)

* [copilot] add proguard rule to prevent obfuscation of route properties (#6762)
Guardiola31337 pushed a commit that referenced this pull request Jan 12, 2023
* fix copilot unrecognized fields serialization (#6821)

* [copilot] add proguard rule to prevent obfuscation of route properties (#6762)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🪲 Core Work related to core navigation and integrations. needs backporting Requires cherry-picking to a currently running release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants