https://github.com/emartech/ios-mobile-inbox
https://github.com/emartech/ios-mobile-inbox
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/emartech/ios-mobile-inbox
- Owner: emartech
- License: apache-2.0
- Created: 2020-06-15T14:43:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T09:57:23.000Z (over 2 years ago)
- Last Synced: 2025-02-09T18:36:05.176Z (over 1 year ago)
- Language: Swift
- Homepage:
- Size: 935 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ios-mobile-inbox
[](https://api.reuse.software/info/github.com/emartech/ios-mobile-inbox)
With [Emarsys SDK](https://github.com/emartech/ios-emarsys-sdk), you can [fetch inbox messages](https://github.com/emartech/ios-emarsys-sdk/wiki#7-inbox) for a user.
This library is a plug and play inbox, that you can reuse and customise to your own branding.
## Setup
1. Cocoapods
```
pod 'EmarsysInbox', :git => 'https://github.com/emartech/ios-mobile-inbox.git'
```
2. Init EmarsysInboxController with new()
```swift
navigationController?.pushViewController(EmarsysInboxController.new(), animated: true)
```
## Configurable variables
You may customize the view with the static variables in `EmarsysInboxConfig` .
```swift
EmarsysInboxConfig.bodyForegroundColor = .black
```
```swift
var headerBackgroundColor: UIColor?
```
```swift
var headerForegroundColor: UIColor?
```
```swift
var bodyBackgroundColor: UIColor?
```
```swift
var bodyForegroundColor: UIColor?
```
```swift
var bodyTintColor: UIColor?
```
```swift
var bodyHighlightTintColor: UIColor?
```
```swift
var activityIndicatorColor: UIColor?
```
```swift
var favImageOff: UIImage?
```
```swift
var favImageOn: UIImage?
```
```swift
var notOpenedViewColor: UIColor?
```
```swift
var defaultImage: UIImage?
```
```swift
var highPriorityImage: UIImage?
```
## Screenshots

## Requirements
The iOS target should be iOS 11 or higher.
## Contributing
Should you have any suggestions or bug reports, please raise an [Emarsys support request](https://help.emarsys.com/hc/en-us/articles/360012853058-Support-at-Emarsys-Raising-a-support-request).
## Code of Conduct
Please see our [Code of Conduct](https://github.com/emartech/.github/blob/main/CODE_OF_CONDUCT.md) for detail.
## Licensing
Please see our [LICENSE](https://github.com/emartech/ios-mobile-inbox/blob/master/LICENSE) for copyright and license information.