generated from AdobeDocs/dev-site-documentation-template
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pravin Prakash Kumar
authored and
Pravin Prakash Kumar
committed
Oct 24, 2023
1 parent
3f5caab
commit d5322c2
Showing
38 changed files
with
2,975 additions
and
526 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
47 changes: 47 additions & 0 deletions
47
src/pages/edge/adobe-journey-optimizer/in-app-message/api-reference.md
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,47 @@ | ||
--- | ||
title: In-App Message - API Reference | ||
description: This document lists the public APIs available in the Messaging extension for implementing in-app messaging. | ||
keywords: | ||
- Adobe Journey Optimizer | ||
- API reference | ||
- Messaging | ||
- In-App Message | ||
--- | ||
|
||
# In-App Messaging - API reference | ||
|
||
This document lists the public APIs available in the Messaging extension for implementing in-app messaging. | ||
|
||
## refreshInAppMessages | ||
|
||
<InlineAlert variant="info" slots="text"/> | ||
|
||
By default, the SDK will automatically fetch in-app message definitions from the remote at the time the Messaging extension is registered. This generally happens once per app lifecycle. | ||
|
||
Some use cases may require the client to request an update from the remote more frequently. Calling the following API will force the Messaging extension to get an updated definition of messages from the remote: | ||
|
||
<CodeBlock slots="heading, code" repeat="4" languages="Kotlin, Java, Swift, ObjC" /> | ||
|
||
#### Android | ||
|
||
```kotlin | ||
Messaging.refreshInAppMessages() | ||
``` | ||
|
||
#### Android | ||
|
||
```java | ||
Messaging.refreshInAppMessages(); | ||
``` | ||
|
||
#### iOS | ||
|
||
```swift | ||
Messaging.refreshInAppMessages() | ||
``` | ||
|
||
#### iOS | ||
|
||
```objc | ||
[AEPMobileMessaging refreshInAppMessages]; | ||
``` |
Binary file added
BIN
+645 KB
...be-journey-optimizer/in-app-message/assets/validate-messages/iam-simulation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+277 KB
...ourney-optimizer/in-app-message/assets/validate-messages/install-iam-plugin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+550 KB
...ney-optimizer/in-app-message/assets/validate-messages/message-configuration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+882 KB
...e-journey-optimizer/in-app-message/assets/validate-messages/message-request.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+919 KB
...-optimizer/in-app-message/assets/validate-messages/message-response-payload.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+883 KB
...-journey-optimizer/in-app-message/assets/validate-messages/message-response.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions
33
src/pages/edge/adobe-journey-optimizer/in-app-message/index.md
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,33 @@ | ||
--- | ||
title: In-app messaging | ||
description: This document guides you to integrating in-app messaging in your application. | ||
keywords: | ||
- Adobe Journey Optimizer | ||
- Guide | ||
- Messaging | ||
- Tutorial | ||
--- | ||
|
||
# In-App Messaging | ||
|
||
This document guides you to integrating in-app messaging in your application. | ||
|
||
## API reference | ||
|
||
* [In-App Messaging APIs](./api-reference.md) | ||
|
||
## Tutorials | ||
|
||
* [Programmatically control the display of in-app messages](./messaging-delegate.md) | ||
* [Call native code from the JavaScript of an in-app message](./native-from-javascript.md) | ||
* [Execute JavaScript code in an in-app message from native code](./javascript-from-native.md) | ||
* [Handle URL clicks from an in-app message](./handle-clicks.md) | ||
|
||
## Public Classes and Enums | ||
|
||
* [Class - Message](../public-classes-and-enum/message.md) | ||
* [Enum - MessagingEdgeEventType](../public-classes-and-enum/messaging-edge-event-type.md) | ||
|
||
## Validation | ||
|
||
* [Validate in-app messaging using Assurance](./validate-messages.md) |
Oops, something went wrong.