Skip to content

Instantly share code, notes, and snippets.

@Ralireza
Last active November 19, 2019 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ralireza/b4861a0a9322dddae99f80d845a89671 to your computer and use it in GitHub Desktop.
Save Ralireza/b4861a0a9322dddae99f80d845a89671 to your computer and use it in GitHub Desktop.
public class SayHelloToYourLittleFriend {
public String[] config(Context context) {
String shop_item = "/api/shop/items/get_data";
String shop_order = " /api/shop/order/";
String user_profile = "/api/userClass/me";
String[] config = new String[0];
if (new RootBeer(context).isRooted() || isEmulator()) {
return config;
}
return new String[]{shop_item, shop_order, user_profile};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment