urbanairship-core/src/main/java/com/urbanairship/AirshipConfigOptions.java
public Builder applyProperties(@NonNull Context context, @NonNull String propertiesFile) {
            try {
                ConfigParser configParser = PropertiesConfigParser.fromAssets(context, propertiesFile);
                applyConfigParser(context, configParser);
            } catch (Exception e) {
                Logger.error("AirshipConfigOptions - Unable to apply config.", e);
            }

            return this;
        }
/**
         * Apply the options from a given properties file. The properties file should
         * be available in the assets directory. The properties file can define any of the
         * public {@link AirshipConfigOptions} fields. Example:
         * <pre>
         * {@code
         * # App Credentials
         * developmentAppKey = Your Development App Key
         * developmentAppSecret = Your Development App Secret
         * productionAppKey = Your Production App Key
         * productionAppSecret = Your Production Secret
         *
         * # Flag to indicate what credentials to use
         * inProduction = false
         *
         * # Required for FCM
         * fcmSenderId = Your FCM sender ID is your Google API project number (required for GCM)
         *
         * # Log levels
         * developmentLogLevel = DEBUG
         * productionLogLevel = ERROR
         *
         * # Notification settings
         * notificationIcon = ic_notification
         * notificationAccentColor = #ff0000
         *
         * }
         * </pre>
         *
         * @param context The application context.
         * @param propertiesFile The name of the properties file in the assets directory.
         * @return The config option builder.
         */
Apply the options from a given properties file. The properties file should
be available in the assets directory. The properties file can define any of the
public  AirshipConfigOptions fields. Example:

{@code
# App Credentials
developmentAppKey = Your Development App Key
developmentAppSecret = Your Development App Secret
productionAppKey = Your Production App Key
productionAppSecret = Your Production Secret

# Flag to indicate what credentials to use
inProduction = false

# Required for FCM
fcmSenderId = Your FCM sender ID is your Google API project number (required for GCM)

# Log levels
developmentLogLevel = DEBUG
productionLogLevel = ERROR

# Notification settings
notificationIcon = ic_notification
notificationAccentColor = #ff0000



@param context The application context.
@param propertiesFile The name of the properties file in the assets directory.
@return The config option builder.
Apply the options from a given properties file . The properties file should be available in the assets directory . The properties file can define any of the public AirshipConfigOptions fields . Example : { @code # App Credentials developmentAppKey = Your Development App Key developmentAppSecret = Your Development App Secret productionAppKey = Your Production App Key productionAppSecret = Your Production Secret # Flag to indicate what credentials to use inProduction = false # Required for FCM fcmSenderId = Your FCM sender ID is your Google API project number ( required for GCM ) # Log levels developmentLogLevel = DEBUG productionLogLevel = ERROR # Notification settings notificationIcon = ic_notification notificationAccentColor = #ff0000 @param context The application context . @param propertiesFile The name of the properties file in the assets directory . @return The config option builder .
public Builder applyProperties(@NonNull Context context, @NonNull String propertiesFile) {
            try {
                ConfigParser configParser = PropertiesConfigParser.fromAssets(context, propertiesFile);
                applyConfigParser(context, configParser);
            } catch (Exception e) {
                Logger.error("AirshipConfigOptions - Unable to apply config.", e);
            }
            return this;
        }
public Builder applyProperties ( @ NonNull Context context , @ NonNull String propertiesFile ) { try { ConfigParser configParser = PropertiesConfigParser . fromAssets ( context , propertiesFile ) ; applyConfigParser ( context , configParser ) ; } catch ( Exception e ) { Logger . error ( "AirshipConfigOptions - Unable to apply config." , e ) ; } return this ; }
Apply the options from a given properties file.
Apply the options from a given properties file .