-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into retenogit/master
- Loading branch information
Showing
19 changed files
with
368 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
RetenoSdkCore/src/main/java/com/reteno/core/view/iam/callback/InAppCloseAction.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.reteno.core.view.iam.callback | ||
|
||
enum class InAppCloseAction { | ||
OPEN_URL, BUTTON, CLOSE_BUTTON | ||
} |
7 changes: 7 additions & 0 deletions
7
RetenoSdkCore/src/main/java/com/reteno/core/view/iam/callback/InAppCloseData.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.reteno.core.view.iam.callback | ||
|
||
class InAppCloseData( | ||
source: InAppSource, | ||
id: String?, | ||
val closeAction: InAppCloseAction | ||
) : InAppData(source, id) |
6 changes: 6 additions & 0 deletions
6
RetenoSdkCore/src/main/java/com/reteno/core/view/iam/callback/InAppData.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.reteno.core.view.iam.callback | ||
|
||
open class InAppData( | ||
val source: InAppSource, | ||
val id: String? | ||
) |
7 changes: 7 additions & 0 deletions
7
RetenoSdkCore/src/main/java/com/reteno/core/view/iam/callback/InAppErrorData.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.reteno.core.view.iam.callback | ||
|
||
class InAppErrorData( | ||
source: InAppSource, | ||
id: String?, | ||
val errorMessage: String | ||
): InAppData(source, id) |
9 changes: 9 additions & 0 deletions
9
RetenoSdkCore/src/main/java/com/reteno/core/view/iam/callback/InAppLifecycleCallback.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.reteno.core.view.iam.callback | ||
|
||
interface InAppLifecycleCallback { | ||
fun beforeDisplay(inAppData: InAppData) | ||
fun onDisplay(inAppData: InAppData) | ||
fun beforeClose(closeData: InAppCloseData) | ||
fun afterClose(closeData: InAppCloseData) | ||
fun onError(errorData: InAppErrorData) | ||
} |
5 changes: 5 additions & 0 deletions
5
RetenoSdkCore/src/main/java/com/reteno/core/view/iam/callback/InAppSource.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.reteno.core.view.iam.callback | ||
|
||
enum class InAppSource { | ||
PUSH_NOTIFICATION, DISPLAY_RULES | ||
} |
Oops, something went wrong.