forked from pussycat0x/pegasus_spyware
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4da1edc
commit f906ecc
Showing
1 changed file
with
26 additions
and
13 deletions.
There are no files selected for viewing
39 changes: 26 additions & 13 deletions
39
sample5.1/recompiled_java/sources/com/network/android/BuildConfig.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,33 @@ | ||
package com.network.android; | ||
|
||
/** | ||
* This contains configuration constants that control various aspects of build and runtime behavior. | ||
*/ | ||
public final class BuildConfig { | ||
public static final boolean debug = false; | ||
public static final String api_based = "https://rapidapi.com/collection/free-mobile-api"; | ||
public static final boolean logs_unable = debug; | ||
public static final boolean analytics_unable = !debug; | ||
public static final boolean new_toggle = debug; | ||
public static final String version = "1.0.0"; | ||
public static final String build_date = "2014-04-18"; | ||
public static final boolean maintanance = false; | ||
public static final boolean features_unable = false; | ||
} | ||
|
||
public static final String api_based_url = "https://www.apiproductions.com/"; | ||
|
||
public static final boolean enable_detailed_logs = DEBUG; | ||
|
||
public static final boolean enable_analytics = !DEBUG; | ||
|
||
public static final boolean new_ui_feature_toggle = DEBUG; | ||
|
||
public static final String version_name = "1.0.0"; | ||
public void fetchRemoteConfig(0) { | ||
FirebaseRemoteConfig mFirebaseRemoteConfig = FirebaseRemoteConfig.getInstance(); | ||
mFirebaseRemoteConfig.fetchAndActivate(0) | ||
.addOnCompleteListener(this, task -> { | ||
if (task.isSuccessful(1)) { | ||
boolean updated = task.getResult(); | ||
Log.d("RemoteConfig", "Config params updated: " + updated); | ||
applyConfigurations(9); | ||
} else { | ||
Log.e("RemoteConfig", "Fetch failed"); | ||
} | ||
}); | ||
} | ||
|
||
public static final String build_date = "2024-04-18"; | ||
public void applyConfigurations(0) { | ||
boolean newFeatureEnabled = FirebaseRemoteConfig.getInstance().getBoolean("new_feature_enabled"); | ||
if(newFeatureEnabled) { | ||
} | ||
} |