FreeTDS for Flutter is a Flutter library that enables connectivity to a SAP Sql Anywhere 17 database.
If you want to use Docker to create a development environment, follow these steps:
- Make sure Docker is installed on your system.
- Navigate to the "db" folder in your project.
- Copy the file "sqlany17.tar" to the "installer" folder, You can download a trial version from this link.
- Run the
docker build . --tag=sybase:17 --network=hostcommand to create a Docker image with SAP Sql Anywhere 17. - Run the
docker-compose up -dcommand to start a Docker container with SAP Sql Anywhere 17. - Once the container is up and running, you can use the SAP Sql Anywhere 17 database for developing and testing your library.
If you prefer to install SAP Sql Anywhere 17 manually, follow these steps:
- Download SAP Sql Anywhere 17 from the download page.
- Extract the contents of the "sqlany17.tar" file to your system.
- Follow the installation instructions for SAP Sql Anywhere 17 provided in the official documentation.
Now that you've set up your SAP Sql Anywhere 17 environment, you can use FreeTDS for Flutter to connect to the database.
FreeTDS for Flutter utilizes the native FreeTDS library version 1.4.22. Modifications and enhancements have been made to this version. You can review the specific changes in the changelog here.
- Build the project using Xcode for:
- Mac (Mac Catalyst, arm64, x86_64)
- Build the project using Xcode for:
- Any iOS Device (arm64)
- Any iOS Simulator Device (arm64, x86_64)
- Merge the builds into a single XCFramework with the following command:
xcodebuild -create-xcframework \ -framework ./Release-iphoneos/FreeTDS-iOS.framework \ -framework ./Release-iphonesimulator/FreeTDS-iOS.framework \ -output xcframeworks/FreeTDS-iOS.xcframework
- Install the following dependencies:
- Build the project using CMake
FreeTDS for Flutter is released under the following license: GNU LGPL.