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

pirateApp.getPack() returns array #42

Closed
wtfmozart opened this issue Feb 23, 2018 · 0 comments
Closed

pirateApp.getPack() returns array #42

wtfmozart opened this issue Feb 23, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@wtfmozart
Copy link

wtfmozart commented Feb 23, 2018

I'm trying to show a dialog to the user when he attempts to make an IAP and on that dialog I'm showing an uninstall button to start uninstaller activity.
The problem is that the pirateApp.getPack() returns an Array instead of package string.
So currently I'm using
Arrays.toString(pirateApp.getPack()).replace(",", "").replace(" ", "").replace("[", "").replace("]", "") to get the package string.
Can you please return clean string?

@wtfmozart wtfmozart changed the title pirateApp.getPack() returns array with spaces and "," in it pirateApp.getPack() returns array Feb 23, 2018
@javiersantos javiersantos added the enhancement New feature or request label Feb 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants