jeweltry 0.0.25 copy "jeweltry: ^0.0.25" to clipboard
jeweltry: ^0.0.25 copied to clipboard

JewelTry package for flutter apps.

Jeweltry #

A jewellery tryon package for flutter apps.

Logo

Requirements
Dart sdk ^3.5.0
Flutter >=3.24.0
Android minSdkVersion >= 19
compileSdk 34
iOS 12.0+ --ios-language swift
Xcode version >= 15.0
MacOS 10.14+
Xcode version >= 15.0

Setup #

For ios

ios>Podfile

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    target.build_configurations.each do |config|
                    config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
                       '$(inherited)',
                       'PERMISSION_CAMERA=1',
                       'PERMISSION_MICROPHONE=1',
                       'PERMISSION_PHOTOS=1',
                       'PERMISSION_LOCATION_WHENINUSE=0',
                       'PERMISSION_MEDIA_LIBRARY=1',
                     ]
            end
  end
end

ios>Runner>info.plist


	<key>NSPhotoLibraryUsageDescription</key>
    <string>App needs access to photo lib for profile images</string>
    <key>NSAppleMusicUsageDescription</key>
    <string>This app needs access to your Apple Music library to enhance your experience with personalized audio integration.</string>
    <key>NSCameraUsageDescription</key>
    <string>To capture profile photo please grant camera access</string>
    <key>NSLocationWhenInUseUsageDescription</key>
<string>This app needs access to location in the background.</string>    
<key>NSLocationAlwaysUsageDescription</key>
<string>This app needs access to location when in the background.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>This app needs access to location when open and in the background.</string>

Android #

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

Screenshots #

App Screenshot

App Screenshot

Installation #

Open TryOn

App Screenshot

TryonBtn(urlPrefix: "XX_XXX", customerId: "XXX_XXX_X", tryOnKey: "XXX-XX_XXX-XX"),

Using Unique Identifier

TryOnSingleProduct(urlPrefix: "XX_XXX", customerId: "XXX_XXX_X",  tryOnKey: "XXX-XX_XXX-XX",btnTxt: "Single Product TryOn",productId: "85899",fromId: true,),

Using Product Id

App Screenshot

TryOnSingleProduct(urlPrefix: "XX_XXX", customerId: "XXX_XXX_X",  tryOnKey: "XXX-XX_XXX-XX",btnTxt: "Single Product TryOn",productId: "85899",fromId: true,),

Text Button

TextBtn(urlPrefix: "XX_XXX", customerId: "XXX_XXX_X", tryOnKey: "XXX-XX_XXX-XX"),

GridLabel

App Screenshot

GridLabel(urlPrefix: "XX_XXX", customerId: "XX_XXX_X_X", tryOnKey: "XX_XX_XX_XX_XX",btnColor: Colors.amber,padding: EdgeInsets.symmetric(horizontal: 8,vertical: 5),radius: 20,),

Custom Button

TryonBtn(urlPrefix: "XX_XXX", customerId: "XXX_XXX_X", tryOnKey: "XXX-XX_XXX-XX",isCustom: true,child: Text(
              "Custom Button",
              style: TextStyle(
                color: Colors.white
              ),
            ),
              decoration: BoxDecoration(
                color: Colors.red,
                borderRadius: BorderRadius.only(topLeft: Radius.circular(20),bottomLeft: Radius.circular(20),bottomRight: Radius.circular(20))
              ),
            ),