Git Product home page Git Product logo

Comments (10)

Shailevy avatar Shailevy commented on July 17, 2024

I'm able to reproduce only on an obfuscated APK

Checking it out

from richpath.

Shailevy avatar Shailevy commented on July 17, 2024

Correction: it's fine in an APK and doesn't work when distributed from an android bundle via the play store (aab)..

I find it very strange and worrying.. probably has nothing to do with the library

from richpath.

tarek360 avatar tarek360 commented on July 17, 2024

Hi @Shailevy thank you for using RichPath, I will investigate in that crash.
I am curious to download your app, could you send the play store link?

from richpath.

Shailevy avatar Shailevy commented on July 17, 2024

Hi,
Thanks, I will email you shortly

from richpath.

Shailevy avatar Shailevy commented on July 17, 2024

I emailed you.
But we can try another approach.. can you obfuscate and publish the sample app as an aab (bundle) in the play store ?

I will opt-in to the beta and then we can see if this is a generic problem or app-specific

from richpath.

Shailevy avatar Shailevy commented on July 17, 2024

Me again,
Sorry for all the messages, its a new production app and everyone here is in panic mode and I would rather annoy you with too much updates then let you waste time on this.

Turns out you can ran an Android Bundle with android studio:

The problem reproduces right away so I was able to debug it:

getAttributeStrokeLineCap in XmlParser.class calls getAttributeValue(xpp, attributeName)

The function:
private static String getAttributeValue(XmlResourceParser xpp, String attributeName) {
return xpp.getAttributeValue("http://schemas.android.com/apk/res/android", attributeName);
}

For my XML
Will return "1" when the project is compiled to an APK and "round" when the project is compiled to a bundle.

I'm guessing it has something to do with the schemas.android.com/apk/res/android name space that hard-coded in the library.. I'm still trying to figure out how to overcome this, I will keep updating you here if I make progress

----- Update:
I will leave this to you, as far as it seems right now the library can't support App Bundles without some updating.
I didn't find helpful info in stackoverflow but I did find many complaints about problems with app bundles. So I decided to switch back to APK's without looking back.

However,
I will gladly help you find out the problem and test a fix and etc... feel free to contact me anytime.
I also suggest you reproduce at your end and warn library users not to migrate to bundles before a fix is available

from richpath.

tarek360 avatar tarek360 commented on July 17, 2024

Thank you for these information, I will try to figure out this issue in the weekend and I will contact if I have update or need to ask question! Thank you again!

from richpath.

Shailevy avatar Shailevy commented on July 17, 2024

Please don't forget this issue so we can all peek on App-Bundles again at some point.
I will be happy to help

from richpath.

Shailevy avatar Shailevy commented on July 17, 2024

Any updated ? is this great library abandoned ?

from richpath.

tarek360 avatar tarek360 commented on July 17, 2024

Hi @Shailevy
Actually I was very busy in the last month and only me work on this library, I have new features to add and also some fixes, but not sure if I can find a time to do that.

I would suggest if you have some time to do this fix and open a pull request! I think it should be easier for you since you're familiar with the bug and know how to reproduce it.

from richpath.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.