All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog
and InBrainSurveys adheres to Semantic Versioning.
3.1.1 - 2025-11-07
- Native Offers Support:
InBrainNativeOffer- class representing a native offerInBrainOfferFilter- class for filtering native offersInBrainOfferType- enum used to specify which offers to fetch from API using the filterInBrainOfferGoal- class representing offer goalsInBrainOfferPromotion- class representing offer promotionsGetNativeOffersCallback- callback interface for handling native offers responsesOpenOfferCallback- callback interface for handling offer opening responsesgetNativeOffers(InBrainOfferFilter, GetNativeOffersCallback)method toInBrainfor fetching native offersopenOfferWithId(int, Context, OpenOfferCallback)method toInBrainfor opening specific offers
- Refactored internal API and authentication layers for better performance and stability
3.0.2 - 2025-09-26
- README.md, CHANGELOG.md and License files now part of the repository
- Moved to the new repository: https://github.com/dynata/inBrainsurveys-android
3.0.1 - 2025-04-17
- Fixed
Toolbarissue overlapped byStatusBar
3.0.0 - 2025-04-01
- Upgraded
minSdkversion from 16 to 21 - Upgraded dependencies:
androidx.core:core-ktxfrom1.10.1to1.15.0androidx.webkit:webkitfrom1.4.0to1.12.1
- Deprecated APIs in
InBrainCallback:default void surveysClosed()default void surveysClosedFromPage()
- Deprecated APIs in
InBrainclass:public void setInBrainValuesFor(String sessionID, HashMap<String, String> dataOptions)public void setLanguage(String language)public void showSurveys(Context context, final StartSurveysCallback callback)public void showNativeSurvey(Context context, Survey survey, final StartSurveysCallback callback)public void showNativeSurveyWith(Context context, String surveyId, String searchId, final StartSurveysCallback callback)
- Deprecated variable in
Surveyclass:public int conversionThreshold
2.5.2 - 2025-03-25
- Default option for
showSurveys(Context context, final StartSurveyCallback callback)is nowWallOption.SURVEYS - Disabled the
offersforshowNativeSurvey(Context context, Survey survey, final StartSurveysCallback callback)function - Disabled the
offersforshowNativeSurveyWith(Context context, String surveyId, String searchId, final StartSurveysCallback callback)function
2.5.1 - 2025-02-25
- Fixed the usage of deprecated
setStatusBarColor(int)method
2.5.0 - 2024-11-18
- Ability to show only surveys or only offers at the inBrain Wall
WallOptionenumopenWall(Context, WallOption, StartSurveysCallback)methodshowNativeSurvey(Context, Survey, boolean, StartSurveysCallback)methodshowNativeSurveyWith(Context, String, String, boolean, StartSurveysCallback)method
showSurveys(Context, StartSurveysCallback)methodshowNativeSurvey(Context, Survey, StartSurveysCallback)methodshowNativeSurveyWith(Context, String, String, StartSurveysCallback)method
2.4.5 - 2024-09-19
- Support for the new
Offersfeature
- Disallowed insecure network traffic
2.4.3 - 2024-07-31
- Performance and stability improvements
2.4.0 - 2024-01-22
- Support for Panelist (Dynamic) Currency Sales - the SDK now returns the active sale with the highest multiplier across all active Publisher and Panelist sales
2.3.0 - 2024-01-04
- Fixed several possible crashes including one that might happen when WebView package is not installed
2.2.0 - 2023-10-11
- New flag
isProfilerSurveyto theSurveyobject
2.1.18 - 2023-08-08
- Updated the ProGuard rule to deobfuscate public method parameters
2.1.17 - 2023-07-18
- Fixed a crash in
getRewards()method
2.1.16 - 2023-06-26
- Fixed a Gradle build issue caused by the dependency
androidx.core:core-ktx
2.1.15 - 2023-06-07
- Fixed a crash when initializing the SDK from non-main thread
2.1.14 - 2023-05-25
- Force fire callback even if client/secret is invalid
- Fixed some parameter casting issues
2.1.13 - 2023-05-22
- Fixed an issue parsing parameters of
getNativeSurveysrequest
2.1.12 - 2023-05-16
- Updated surveys availability checking logic
- Refactored and cleaned up code
2.1.6 - 2023-02-13
- Fixed an issue accessing Kotlin code from C#
2.1.5 - 2023-01-30
- Sub module example for easier testing purposes
- Ability to initialize InBrain outside main thread
- Made
didReceiveInBrainRewards()optional - Adjusted default toolbar and statusbar configurations
- Removed useless logic regarding
confirmedRewardsIdsandlastReceivedRewards
2.1.2 - 2023-01-03
- Option to setup SDK without
userId - Option to set
userIdseparately from SDK setup - Information about survey's conversion level
- Option to confirm rewards by transaction IDs
- Option to setup
sessionIdanddataOptionsseparately - New callback with information about reward for Native Surveys
- Some old functions and properties
2.0.0 - 2022-10-30
- Support for categories
- Improved usage of native surveys methods
1.0.28 - 2022-10-24
- Fixed the ProGuard rule
1.0.27 - 2022-09-13
- Changed the redirect URL and dialog content when clicking back button to exit a survey
1.0.26 - 2022-09-05
- Loading indicator when the survey WebView is being initialized
1.0.25 - 2022-07-03
- Support for profile match - each survey now has
conversionThresholdfield which reflects conversion rates
1.0.24 - 2022-06-15
- Support for some specific apps to fetch ongoing currency sale details
1.0.23 - 2022-05-31
- Exposed getters for 2 InBrain properties (
sessionUidanddataOptions) for convenience
- Upgraded AGP to latest version and added
maven-publishplugin to resolve some JitPack build warnings
1.0.21 - 2021-12-13
- 2 additional properties (
currencySaleandmultiplier) available for native surveys
1.0.20 - 2021-11-24
- Fixed the issue where users were often falling into a blank screen when trying to enter an inBrain survey
1.0.19 - 2021-10-04
- Re-enabled
setLanguage()method
1.0.18 - 2021-09-23
- Support for passing in an optional parameter
placement_idto the native surveys APIs
1.0.16 - 2020-01-21
- Support for multiple windows for WebView
1.0.15 - 2021-01-12
- Support for
nativeSurveyClosedmessage
1.0.14 - 2020-12-11
- Inverted light status bar icons color
1.0.13 - 2020-12-11
- Navigation to feedback after aborting survey
1.0.12 - 2020-12-03
- inBrain V2 customization
1.0.9 - 2020-11-02
- Native surveys support