Last active
November 15, 2017 11:00
-
-
Save juanriaza/e107a004a527d3394f66b12e3835085d to your computer and use it in GitHub Desktop.
mcdonalds.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java.perform(function () { | |
var klass = Java.use('com.mcdonalds.android.ui.offers.myMcDonalds.MyMcDonaldsOffersPresenterImpl'); | |
var loyaltyType = Java.use('com.mcdonalds.android.data.UserProfileData$LoyaltyType'); | |
klass.getUserLevel.implementation = function () { | |
return loyaltyType.GOLD.value; | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment