Skip to content

Commit

Permalink
Fixed interstitial min watch time
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevenNefta committed May 13, 2024
1 parent a187717 commit d5500c6
Show file tree
Hide file tree
Showing 12 changed files with 662 additions and 662 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void OnEnable()
}

_error = null;
#if UNITY_2021
#if UNITY_2021_1_OR_NEWER
GetAndroidVersions();
#endif
GetIosVersions();
Expand All @@ -60,7 +60,7 @@ public override void OnInspectorGUI()
return;
}

#if UNITY_2021
#if UNITY_2021_1_OR_NEWER
if (_androidAdapterVersion != _iosAdapterVersion)
{
DrawVersion("Nefta MAX Android Custom Adapter version", _androidAdapterVersion);
Expand Down Expand Up @@ -156,7 +156,7 @@ private static void DrawVersion(string label, string version)
EditorGUILayout.EndHorizontal();
}

#if UNITY_2021
#if UNITY_2021_1_OR_NEWER
private void GetAndroidVersions()
{
var guids = AssetDatabase.FindAssets("NeftaMaxAdapter");
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14078,70 +14078,70 @@
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1180,
"offset": 1175,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "FloatLiteral",
"offset": 1230,
"offset": 1225,
"length": 4,
"value": "-1.0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "BooleanLiteral",
"offset": 1272,
"offset": 1267,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "BooleanLiteral",
"offset": 1328,
"offset": 1323,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1407,
"offset": 1402,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1452,
"offset": 1447,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1494,
"offset": 1489,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "BooleanLiteral",
"offset": 1532,
"offset": 1527,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "BooleanLiteral",
"offset": 1572,
"offset": 1567,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1636,
"offset": 1631,
"length": 2,
"value": "20"
},
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</data>
<key>Modules/NeftaSDK.swiftmodule/arm64-apple-ios.abi.json</key>
<data>
32f/SIUbydplecNT66T3i6R+0qY=
kwjA3qqR49/kEpQ6nt2Ed8n/MII=
</data>
<key>Modules/NeftaSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
<data>
Expand All @@ -38,7 +38,7 @@
</data>
<key>Modules/NeftaSDK.swiftmodule/arm64-apple-ios.swiftmodule</key>
<data>
7uW5a645bWf0HGgPQv/Nl70PLmQ=
QScgJ/mFzPFdnZU0WYyqbEFZ5Rs=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down Expand Up @@ -76,7 +76,7 @@
<dict>
<key>hash2</key>
<data>
93pZuLh+JY5Uxwc1w0mEE/xDLOCSE2EUK94oVuVeml8=
KPelHZbWdVhvcnYwceoDhU0X5DeJyKVT/ep3igMoOaQ=
</data>
</dict>
<key>Modules/NeftaSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
Expand Down Expand Up @@ -104,7 +104,7 @@
<dict>
<key>hash2</key>
<data>
yV074Z9YAWWUr7ugmNGyts3t/Bg5Q7VmyCuM30kRHjQ=
DTc5N0CF0TTBOC8FW2so3aN0DqoA2/WG+yqHDuA4Va8=
</data>
</dict>
<key>Modules/module.modulemap</key>
Expand Down
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10094,8 +10094,8 @@
},
{
"kind": "Var",
"name": "_lastVideoUpdateTime",
"printedName": "_lastVideoUpdateTime",
"name": "_lastUpdateTime",
"printedName": "_lastUpdateTime",
"children": [
{
"kind": "TypeNominal",
Expand All @@ -10105,8 +10105,8 @@
}
],
"declKind": "Var",
"usr": "s:8NeftaSDK22RenderUIViewControllerC20_lastVideoUpdateTime33_87ABCC9BB89F426A8E85B3BCD30405E8LLSdvp",
"mangledName": "$s8NeftaSDK22RenderUIViewControllerC20_lastVideoUpdateTime33_87ABCC9BB89F426A8E85B3BCD30405E8LLSdvp",
"usr": "s:8NeftaSDK22RenderUIViewControllerC15_lastUpdateTime33_87ABCC9BB89F426A8E85B3BCD30405E8LLSdvp",
"mangledName": "$s8NeftaSDK22RenderUIViewControllerC15_lastUpdateTime33_87ABCC9BB89F426A8E85B3BCD30405E8LLSdvp",
"moduleName": "NeftaSDK",
"isInternal": true,
"declAttributes": [
Expand Down Expand Up @@ -10714,8 +10714,8 @@
},
{
"kind": "Function",
"name": "OnVideoUpdate",
"printedName": "OnVideoUpdate(timer:)",
"name": "OnUpdate",
"printedName": "OnUpdate(timer:)",
"children": [
{
"kind": "TypeNominal",
Expand All @@ -10730,8 +10730,8 @@
}
],
"declKind": "Func",
"usr": "s:8NeftaSDK22RenderUIViewControllerC13OnVideoUpdate5timerySo7NSTimerC_tF",
"mangledName": "$s8NeftaSDK22RenderUIViewControllerC13OnVideoUpdate5timerySo7NSTimerC_tF",
"usr": "s:8NeftaSDK22RenderUIViewControllerC8OnUpdate5timerySo7NSTimerC_tF",
"mangledName": "$s8NeftaSDK22RenderUIViewControllerC8OnUpdate5timerySo7NSTimerC_tF",
"moduleName": "NeftaSDK",
"isOpen": true,
"declAttributes": [
Expand Down Expand Up @@ -35474,70 +35474,70 @@
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1180,
"offset": 1175,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "FloatLiteral",
"offset": 1230,
"offset": 1225,
"length": 4,
"value": "-1.0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "BooleanLiteral",
"offset": 1272,
"offset": 1267,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "BooleanLiteral",
"offset": 1328,
"offset": 1323,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1407,
"offset": 1402,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1452,
"offset": 1447,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1494,
"offset": 1489,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "BooleanLiteral",
"offset": 1532,
"offset": 1527,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "BooleanLiteral",
"offset": 1572,
"offset": 1567,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1636,
"offset": 1631,
"length": 2,
"value": "20"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10094,8 +10094,8 @@
},
{
"kind": "Var",
"name": "_lastVideoUpdateTime",
"printedName": "_lastVideoUpdateTime",
"name": "_lastUpdateTime",
"printedName": "_lastUpdateTime",
"children": [
{
"kind": "TypeNominal",
Expand All @@ -10105,8 +10105,8 @@
}
],
"declKind": "Var",
"usr": "s:8NeftaSDK22RenderUIViewControllerC20_lastVideoUpdateTime33_87ABCC9BB89F426A8E85B3BCD30405E8LLSdvp",
"mangledName": "$s8NeftaSDK22RenderUIViewControllerC20_lastVideoUpdateTime33_87ABCC9BB89F426A8E85B3BCD30405E8LLSdvp",
"usr": "s:8NeftaSDK22RenderUIViewControllerC15_lastUpdateTime33_87ABCC9BB89F426A8E85B3BCD30405E8LLSdvp",
"mangledName": "$s8NeftaSDK22RenderUIViewControllerC15_lastUpdateTime33_87ABCC9BB89F426A8E85B3BCD30405E8LLSdvp",
"moduleName": "NeftaSDK",
"isInternal": true,
"declAttributes": [
Expand Down Expand Up @@ -10714,8 +10714,8 @@
},
{
"kind": "Function",
"name": "OnVideoUpdate",
"printedName": "OnVideoUpdate(timer:)",
"name": "OnUpdate",
"printedName": "OnUpdate(timer:)",
"children": [
{
"kind": "TypeNominal",
Expand All @@ -10730,8 +10730,8 @@
}
],
"declKind": "Func",
"usr": "s:8NeftaSDK22RenderUIViewControllerC13OnVideoUpdate5timerySo7NSTimerC_tF",
"mangledName": "$s8NeftaSDK22RenderUIViewControllerC13OnVideoUpdate5timerySo7NSTimerC_tF",
"usr": "s:8NeftaSDK22RenderUIViewControllerC8OnUpdate5timerySo7NSTimerC_tF",
"mangledName": "$s8NeftaSDK22RenderUIViewControllerC8OnUpdate5timerySo7NSTimerC_tF",
"moduleName": "NeftaSDK",
"isOpen": true,
"declAttributes": [
Expand Down Expand Up @@ -35474,70 +35474,70 @@
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1180,
"offset": 1175,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "FloatLiteral",
"offset": 1230,
"offset": 1225,
"length": 4,
"value": "-1.0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "BooleanLiteral",
"offset": 1272,
"offset": 1267,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "BooleanLiteral",
"offset": 1328,
"offset": 1323,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1407,
"offset": 1402,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1452,
"offset": 1447,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1494,
"offset": 1489,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "BooleanLiteral",
"offset": 1532,
"offset": 1527,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "BooleanLiteral",
"offset": 1572,
"offset": 1567,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/tomaztreven\/Projects\/nefta-plugins\/Apple\/NeftaSDK\/NeftaSDK\/RenderUIViewController.swift",
"kind": "IntegerLiteral",
"offset": 1636,
"offset": 1631,
"length": 2,
"value": "20"
},
Expand Down
Binary file not shown.

0 comments on commit d5500c6

Please sign in to comment.