Browse Source

close #437

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
30fcf687eb
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 4
      app/src/main/java/awais/instagrabber/utils/Constants.java
  2. 4
      app/src/main/res/values/themes.xml
  3. 2
      fastlane/metadata/android/en-US/changelogs/55.txt

4
app/src/main/java/awais/instagrabber/utils/Constants.java

@ -56,9 +56,9 @@ public final class Constants {
// spoof // spoof
public static final String USER_AGENT = "Mozilla/5.0 (Linux; Android 8.1.0; motorola one Build/OPKS28.63-18-3; wv) " + public static final String USER_AGENT = "Mozilla/5.0 (Linux; Android 8.1.0; motorola one Build/OPKS28.63-18-3; wv) " +
"AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.80 Mobile Safari/537.36 " + "AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.80 Mobile Safari/537.36 " +
"Instagram 166.1.0.42.245 Android (27/8.1.0; 320dpi; 720x1362; motorola; motorola one; deen_sprout; qcom; pt_BR; 256099205)";
"Instagram 169.1.0.29.135 Android (27/8.1.0; 320dpi; 720x1362; motorola; motorola one; deen_sprout; qcom; pt_BR; 262886998)";
public static final String I_USER_AGENT = public static final String I_USER_AGENT =
"Instagram 166.1.0.42.245 Android (27/8.1.0; 320dpi; 720x1362; motorola; motorola one; deen_sprout; qcom; pt_BR; 256099205)";
"Instagram 169.1.0.29.135 Android (27/8.1.0; 320dpi; 720x1362; motorola; motorola one; deen_sprout; qcom; pt_BR; 262886998)";
public static final String A_USER_AGENT = "https://Barinsta.AustinHuang.me / mailto:[email protected]"; public static final String A_USER_AGENT = "https://Barinsta.AustinHuang.me / mailto:[email protected]";
// see https://github.com/dilame/instagram-private-api/blob/master/src/core/constants.ts // see https://github.com/dilame/instagram-private-api/blob/master/src/core/constants.ts
public static final String SUPPORTED_CAPABILITIES = "[ { \"name\": \"SUPPORTED_SDK_VERSIONS\", \"value\":" + public static final String SUPPORTED_CAPABILITIES = "[ { \"name\": \"SUPPORTED_SDK_VERSIONS\", \"value\":" +

4
app/src/main/res/values/themes.xml

@ -120,8 +120,8 @@
<style name="AppTheme.Dark.MaterialDark" parent="AppTheme.Dark"> <style name="AppTheme.Dark.MaterialDark" parent="AppTheme.Dark">
<item name="colorPrimary">@color/purple_200</item> <item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/purple_600</item> <item name="colorPrimaryVariant">@color/purple_600</item>
<item name="colorSecondary">@color/green_200</item>
<item name="colorSecondaryVariant">@color/green_500</item>
<item name="colorSecondary">@color/green_500</item>
<item name="colorSecondaryVariant">@color/green_200</item>
<item name="android:colorBackground">@color/black</item> <item name="android:colorBackground">@color/black</item>
<item name="colorSurface">@color/black_800</item> <item name="colorSurface">@color/black_800</item>
<item name="colorError">@color/red_200</item> <item name="colorError">@color/red_200</item>

2
fastlane/metadata/android/en-US/changelogs/55.txt

@ -9,6 +9,6 @@ Merry Christmas and Happy Holidays!
* Feed now uses the app endpoint, which allows you to see posts from followed hashtags * Feed now uses the app endpoint, which allows you to see posts from followed hashtags
* New profile details layout * New profile details layout
* Comparing following/followers is now faster and more stable
* Viewing comments and following/followers should be faster and more stable
* The APK is now smaller (~10 MB → 6.3 MB) * The APK is now smaller (~10 MB → 6.3 MB)
* Various bug fixes * Various bug fixes
Loading…
Cancel
Save