Installation
Requirements
Android API version
26
or higheriOS version
14.5
or higher
Installation
Here is how to install the Wepin iOS SDK.
install Wepin via pub
pub
The Wepin Flutter SDK is available on pub.dev
, and you can install it using the following command or by adding it as a dependency in your app's pubspec.yaml.
Add wepin_flutter
via flutter pub add
command
wepin_flutter
via flutter pub add
commandAdd wepin_flutter
to the dependencies in your pubspec.yaml
wepin_flutter
to the dependencies in your pubspec.yamlFor iOS
Modify Info file
In Xcode, you need to register URL Schemes in the Info file.
The value of URL Schemes should be wepin. + appId (assigned during registration)
Make sure that the App Bundle ID is not allowed to contain any special characters other than '+
', '-
', '.
'.
(Refer to: https://datatracker.ietf.org/doc/html/rfc2396)
For Android
Modify AndroidManifest
To use Wepin in your app, you need to modify the AndroidManifest.xml file of your app.
Add Permissions
Add the following permission to the main Activity of your app to use Wepin.
Add Intent Filter for Wepin Activity
You need to add an intent filter for the Wepin activity in your app's AndroidManifest.xml. The schema value you add should be wepin. + appId (assigned during registration)
Release
The released package versions can be found on the GitHub repository below.
Last updated