react-native-flyy 1.4.41 → 1.4.42
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.
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
137
|
+
implementation 'com.github.roid-software:flyy-sdk:1.4.54.99'
|
|
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
|
-
|
|
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
|
-
|
|
482
|
+
Flyy.setDarkThemeColor(topBgColor, mainBgColor, shadowBgColor, offersCardBgColor, buttonBGColor, headingTextColor, subHeadingTextColor, extraTextColor, labelsTextColor, walletCardColor, walletInnerCardColor, walletSubHeadingColor, scratchCardBgColor, scratchCardInnerColor)
|
|
483
483
|
}
|
|
484
484
|
|
|
485
485
|
|
package/ios/ReactNativeFlyy.m
CHANGED
|
@@ -1014,7 +1014,15 @@ RCT_EXPORT_METHOD(openFlyyQuizListPage)
|
|
|
1014
1014
|
//open stamps screen
|
|
1015
1015
|
RCT_EXPORT_METHOD(openFlyyStampsPage)
|
|
1016
1016
|
{
|
|
1017
|
+
flyy = [Flyy sharedFlyyInstance];
|
|
1018
|
+
|
|
1019
|
+
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
|
|
1017
1020
|
|
|
1021
|
+
dispatch_async(dispatch_get_main_queue(), ^(){
|
|
1022
|
+
|
|
1023
|
+
[self->flyy openStampPage];
|
|
1024
|
+
});
|
|
1025
|
+
});
|
|
1018
1026
|
}
|
|
1019
1027
|
|
|
1020
1028
|
//open invite details screen
|