weespin_flutter 1.1.0 copy "weespin_flutter: ^1.1.0" to clipboard
weespin_flutter: ^1.1.0 copied to clipboard

Weespin Flutter plugin. Helps you create deep links in a blink

Weespin Flutter SDK #

pub package

Weespin helps you create deep links for your apps in a blink. Get started on www.weespin.io/.

How to use #

1. Create an API key #

Create a project and generate an API Key from your dashboard;

const weespin = Weespin(apiKey: "YOUR API KEY");
/// Create a new link
final link = await weespin.createLink(
    title: "My link",
    description: "Description test",
    image: "<binary file>",
    segments: ["news", "bananas"],
    customParams: ["utm", "productId"],
);

/// Shorten an existing link by providing values for custom parameters
final shortLink = await weespin.shortenLink(
    id: "link_id",
    params: { "utm": "android", "productId": "123" },
);

/// Create a link and get its short version
final shortLink = await weespin.createShortLink(
    title: "My link",
    description: "Description test",
    image: "<binary file>",
    segments: ["news", "bananas"],
    customParams: { "utm": "android", "productId": "123" },
);

Provide values for your custom parameters and you're ready to go!

/// full url (eg.: https://app.weespin.link/news/bananas?utm=android&productId=123)
print(link.shareLink({"utm": "android", "productId": "123"}));
/// or short url (eg.: https://weespin.link/xyZAbC)
print(shortLink.shortUrl); 

Use a plugin such as app_links to handle link intent.

Need help? #

Contact support at contact@caelis-tech.studio.

1
likes
150
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Weespin Flutter plugin. Helps you create deep links in a blink

Homepage

Topics

#weespin #deeplinks #deep-links #dynamic-links

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on weespin_flutter