Skip to content

Dart support for the construction x-callback-url URL schemas for inter-app communication and messaging on Apple’s iOS/Mac platforms.

License

Notifications You must be signed in to change notification settings

ivoleitao/xcallbackurl

Repository files navigation

xcallbackurl

Build Status Pub Package Coverage Status Package Documentation Github Stars GitHub License


Overview

Features

Supported app schemes

Package Pub Description
xcallbackurl_bear Pub A bear X-callback-url scheme implementation

Getting Started

Select one of the supported app scheme libraries and add the base and app packages to your pubspec.yaml replacing x.x.x and y.y.y with the latest version of both. The example below uses the xcallbackurl_bear package which provides bear X-callback-url scheme support:

dependencies:
    xcallbackurl: ^x.x.x
    xcallbackurl_bear: ^y.y.y

Run the following command to install dependencies:

dart pub get

Finally, to start developing import the api and the selected storage implementation. In the example bellow the selected storage implementation is xcallbackurl_memory thus we import the xcallbackurl_apiand the xcallbackurl_memory libraries:

import 'package:xcallbackurl/xcallbackurl.dart';
import 'package:xcallbackurl/xcallbackurl_bear.dart';
// In a more general sense 'package:xcallbackurl/xcallbackurl_xxx.dart' where xxx is the name of the
// app schemes, `bear` for example

Usage

import 'package:xcallbackurl/xcallbackurl_api.dart';
import 'package:xcallbackurl_file/xcallbackurl_file.dart';

Contributing

Contributions are always welcome!

If you would like to contribute with other parts of the API, feel free to make a Github pull request as I'm always looking for contributions for:

  • Tests
  • Documentation
  • New APIs

See CONTRIBUTING.md for ways to get started.

Features and Bugs

Please file feature requests and bugs at the issue tracker.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Dart support for the construction x-callback-url URL schemas for inter-app communication and messaging on Apple’s iOS/Mac platforms.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages