react-native-flyy 1.4.48 → 1.4.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -134,7 +134,7 @@ dependencies {
134
134
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
135
135
 
136
136
  //Flyy sdk dependency
137
- implementation 'com.github.roid-software:flyy-sdk:1.4.55.26'
137
+ implementation 'com.github.roid-software:flyy-sdk:1.4.55.39'
138
138
  // implementation project(path: ':flyy')
139
139
 
140
140
  implementation 'com.google.code.gson:gson:2.8.7'
@@ -334,7 +334,7 @@ class FlyyModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaMo
334
334
 
335
335
  @ReactMethod
336
336
  fun setCustomFontName(regularFont: String?, mediumFont: String?, boldFont: String?) {
337
- //Flyy.setCustomFontName(regularFont,mediumFont, boldFont)
337
+ Flyy.setCustomFontName(regularFont,mediumFont, boldFont)
338
338
  }
339
339
 
340
340
  @ReactMethod
@@ -479,7 +479,7 @@ class FlyyModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaMo
479
479
 
480
480
  @ReactMethod
481
481
  fun setCustomThemeColor(topBgColor: String, mainBgColor: String, shadowBgColor: String, offersCardBgColor: String, buttonBGColor: String, headingTextColor: String, subHeadingTextColor: String, extraTextColor: String, labelsTextColor: String, walletCardColor: String, walletInnerCardColor: String, walletSubHeadingColor: String, scratchCardBgColor: String, scratchCardInnerColor: String) {
482
- //Flyy.setDarkThemeColor(topBgColor, mainBgColor, shadowBgColor, offersCardBgColor, buttonBGColor, headingTextColor, subHeadingTextColor, extraTextColor, labelsTextColor, walletCardColor, walletInnerCardColor, walletSubHeadingColor, scratchCardBgColor, scratchCardInnerColor)
482
+ Flyy.setDarkThemeColor(topBgColor, mainBgColor, shadowBgColor, offersCardBgColor, buttonBGColor, headingTextColor, subHeadingTextColor, extraTextColor, labelsTextColor, walletCardColor, walletInnerCardColor, walletSubHeadingColor, scratchCardBgColor, scratchCardInnerColor)
483
483
  }
484
484
 
485
485
 
@@ -813,22 +813,22 @@ fun getPreviousLeaderboardWinners(tag: String, callBack: Callback) {
813
813
 
814
814
  @ReactMethod
815
815
  fun navigateToHome(shouldNavigateToHome: Boolean, noTournamentLabel: String, quizCompletionLabel: String,checkedInButtonText: String) {
816
- //Flyy.navigateToHome(shouldNavigateToHome,noTournamentLabel,quizCompletionLabel,checkedInButtonText);
816
+ Flyy.navigateToHome(shouldNavigateToHome,noTournamentLabel,quizCompletionLabel,checkedInButtonText);
817
817
  }
818
818
 
819
819
  @ReactMethod
820
820
  fun setReferralCodeHide(hideReferralCode: Boolean) {
821
- // Flyy.setReferralCodeHide(hideReferralCode);
821
+ Flyy.setReferralCodeHide(hideReferralCode);
822
822
  }
823
823
 
824
824
  @ReactMethod
825
825
  fun hideSCPopupDetails(hideScDate: Boolean,hideScRefNum: Boolean) {
826
- //(hideScDate,hideScRefNum);
826
+ Flyy.hideSCPopupDetails(hideScDate,hideScRefNum);
827
827
  }
828
828
 
829
829
  @ReactMethod
830
830
  fun setGiftCardRedeemText(hintTextName: String, hintTextEmail: String,receiverName: String,receiverEmail: String) {
831
- //Flyy.setGiftCardRedeemText(hintTextName,hintTextEmail,receiverName,receiverEmail);
831
+ Flyy.setGiftCardRedeemText(hintTextName,hintTextEmail,receiverName,receiverEmail);
832
832
  }
833
833
 
834
834
  @Throws(JSONException::class)
@@ -926,5 +926,4 @@ fun getPreviousLeaderboardWinners(tag: String, callBack: Callback) {
926
926
  constants[PRODUCTION] = Flyy.PRODUCTION
927
927
  return constants
928
928
  }
929
- }
930
-
929
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-flyy",
3
- "version": "1.4.48",
3
+ "version": "1.4.50",
4
4
  "description": "React Native wrapper around our Android and iOS mobile SDKs",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -18,5 +18,5 @@ Pod::Spec.new do |s|
18
18
 
19
19
 
20
20
  s.dependency "React-Core"
21
- s.dependency "FlyyFramework", "1.3.73"
21
+ s.dependency "FlyyFramework", "1.3.120"
22
22
  end