Git Product home page Git Product logo

glassfy-flutter's People

Contributors

arunshaik2001 avatar bassel avatar curzel-it avatar fcurzel avatar jonafeucht avatar lgarbo avatar marcopifferi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

glassfy-flutter's Issues

unsubscribe method

Hi,
Im' currently testing this well documented plugin.
But there is something that I can't find anywhere.

How can we cancel a user subscription?
I can't find any method or documentation for this.

Error While Getting APK in Release Mode

Hello, I'm trying to create an apk to publish my app on the store (flutter build appbundle --release) but I'm encountering the following error. I've been searching the internet for hours but I couldn't find any solution. I determined that the error was caused by this package. I'm waiting for your help.

flutter build appbundle --release
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 2372 bytes (99.9% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Font asset "CupertinoIcons.ttf" was tree-shaken, reducing it from 283452 to 912 bytes (99.7% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
ERROR:/Users/berkaycatak/.gradle/caches/transforms-3/a2df2b8f56f6acef2d97cb1b5649225c/transformed/jetified-moshi-1.15.0.jar: R8: com.android.tools.r8.internal.YI0: Records are not supported

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:minifyReleaseWithR8'.
> com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: /Users/berkaycatak/.gradle/caches/transforms-3/a2df2b8f56f6acef2d97cb1b5649225c/transformed/jetified-moshi-1.15.0.jar:META-INF/versions/16/com/squareup/moshi/RecordJsonAdapter$ComponentBinding.class

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUİLD FAILED in 45s
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.0.1 22A400 darwin-arm64, locale tr-TR)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.82.3)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

The example application you published on github does not open.

flutter run --release
Using hardware rendering with device sdk gphone64 arm64. If you notice graphics
artifacts, consider enabling software rendering with
"--enable-software-rendering".
Launching lib/main.dart on sdk gphone64 arm64 in release mode...
e: /Users/berkaycatak/Downloads/glassfy-flutter-main/example/build/glassfy_flutter/.transforms/980729ad37f2aa289c82178f3688017b/transformed/out/jars/classes.jar!/META-INF/glassfy_flutter_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: /Users/berkaycatak/.gradle/caches/transforms-3/6379987409d83f1203181eae1340640d/transformed/lifecycle-livedata-2.6.1/jars/classes.jar!/META-INF/lifecycle-livedata_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: /Users/berkaycatak/.gradle/caches/transforms-3/03d9ace324c457540a61bfb31f43a0c0/transformed/lifecycle-viewmodel-2.6.1/jars/classes.jar!/META-INF/lifecycle-viewmodel_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: /Users/berkaycatak/.gradle/caches/transforms-3/6f58c91662e0eb02fa616ff5733f83a7/transformed/lifecycle-livedata-core-2.6.1/jars/classes.jar!/META-INF/lifecycle-livedata-core_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: /Users/berkaycatak/.gradle/caches/transforms-3/102b4694cb7df2ba15bc8706ec186ce9/transformed/jetified-lifecycle-viewmodel-savedstate-2.6.1/jars/classes.jar!/META-INF/lifecycle-viewmodel-savedstate_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: /Users/berkaycatak/.gradle/caches/transforms-3/74e31430c2908bd355659665178b75fd/transformed/lifecycle-runtime-2.6.1/jars/classes.jar!/META-INF/lifecycle-runtime_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: /Users/berkaycatak/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common/2.6.1/10f354fdb64868baecd67128560c5a0d6312c495/lifecycle-common-2.6.1.jar!/META-INF/lifecycle-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: /Users/berkaycatak/.gradle/caches/transforms-3/7b74ebc2eec7a152f5b3af52e64c312b/transformed/jetified-savedstate-1.2.1/jars/classes.jar!/META-INF/savedstate_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: /Users/berkaycatak/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.21/43d50ab85bc7587adfe3dda3dbe579e5f8d51265/kotlin-stdlib-1.8.21.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: /Users/berkaycatak/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.21/43d50ab85bc7587adfe3dda3dbe579e5f8d51265/kotlin-stdlib-1.8.21.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: /Users/berkaycatak/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.21/43d50ab85bc7587adfe3dda3dbe579e5f8d51265/kotlin-stdlib-1.8.21.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
e: /Users/berkaycatak/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.8.21/d749cd5ae25da36d06e5028785038e24f9d37976/kotlin-stdlib-common-1.8.21.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.
ERROR:/Users/berkaycatak/.gradle/caches/transforms-3/c7073e55adcebe80fd8f46d7ff6b5c20/transformed/jetified-moshi-1.15.0.jar: R8: com.android.tools.r8.internal.YI0: Records are not supported

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:minifyReleaseWithR8'.
> com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: /Users/berkaycatak/.gradle/caches/transforms-3/c7073e55adcebe80fd8f46d7ff6b5c20/transformed/jetified-moshi-1.15.0.jar:META-INF/versions/16/com/squareup/moshi/RecordJsonAdapter$ComponentBinding.class

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUİLD FAILED in 58s
Running Gradle task 'assembleRelease'...                           58,9s

┌─ Flutter Fix ────────────────────────────────────────────────────────────────┐
│ [!] Your project requires a newer version of the Kotlin Gradle plugin.       │
│ Find the latest version on                                                   │
│ https://kotlinlang.org/docs/releases.html#release-details, then update       │
│ /Users/berkaycatak/Downloads/glassfy-flutter-main/example/android/build.grad │
│ le:                                                                          │
│ ext.kotlin_version = '<latest-version>'                                      │
└──────────────────────────────────────────────────────────────────────────────┘
Exception: Gradle task assembleRelease failed with exit code 1
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      AndroidGradleBuilder.buildGradleApp
(package:flutter_tools/src/android/gradle.dart:551:7)
<asynchronous suspension>
#2      AndroidGradleBuilder.buildApk
(package:flutter_tools/src/android/gradle.dart:242:5)
<asynchronous suspension>
#3      AndroidDevice.startApp
(package:flutter_tools/src/android/android_device.dart:578:7)
<asynchronous suspension>
#4      FlutterDevice.runCold
(package:flutter_tools/src/resident_runner.dart:534:33)
<asynchronous suspension>
#5      ColdRunner.run (package:flutter_tools/src/run_cold.dart:57:28)
<asynchronous suspension>
#6      RunCommand.runCommand
(package:flutter_tools/src/commands/run.dart:753:27)
<asynchronous suspension>
#7      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:1297:27)
<asynchronous suspension>
#8      AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#9      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#10     FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:339:9)
<asynchronous suspension>
#11     AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:285:5)
<asynchronous suspension>
#13     run.<anonymous closure>.<anonymous closure>
(package:flutter_tools/runner.dart:115:9)
<asynchronous suspension>
#14     AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#15     main (package:flutter_tools/executable.dart:90:3)
<asynchronous suspension>

iOS:

Launching lib/main.dart on iPhone 14 Pro in debug mode...
Running pod install...                                             18,5s
Running Xcode build...                                                  
Xcode build done.                                           18,0s
Failed to build iOS app
Error (Xcode): Undefined symbol: _OBJC_CLASS_$_Glassfy


Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)


Could not build the application for the simulator.
Error launching application on iPhone 14 Pro.

Support for macos and web

I have just started using galssfy and the documentation is first class and a lot easier to setup than some other well known purchase package.
Currently the package only supports IOS and android. Is there any plans to include macos and web built using flutter?

Support for paywall remote

I would like to request the possibility of remote paywall in Flutter,

I know that flutter may not be the main objective of the company since I contacted you in the past about the subject.

I was well attended but now several months later, it is still not possible to call the remote paywall via flutter.

Today it is a gap in flutter the only company that gives real support to flutter with remote paywall and works in a limited way is NamiML where the paid plans are $199, thus limiting the possibility of use.

Pay attention, Flutter grows more and more every day and is a market with weak package competition.

Cannot install glassfy in new app

Today (15th March) for some reason pod install reports error with the glassfy:

Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "glassfy_flutter": In Podfile: glassfy_flutter (from Flutter/ephemeral/.symlinks/plugins/glassfy_flutter/macos`)

Specs satisfying the glassfy_flutter (from Flutter/ephemeral/.symlinks/plugins/glassfy_flutter/macos) dependency were found, but they required a higher minimum deployment target.`

I could not find what the deployment target required is - so I thought I try a new project and see if that works:
I have created a new flutter project (blank application) and installed glassfy using: flutter pub add glassfy_flutter

Launching lib/main.dart on macOS in debug mode... main.dart:1 CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting targets to integrate Using ARCHSsetting to build architectures of targetPods-Runner: (``) Using ARCHSsetting to build architectures of targetPods-RunnerTests: (``) Fetching external sources -> Fetching podspec for FlutterMacOSfromFlutter/ephemeral-> Fetching podspec forglassfy_flutterfromFlutter/ephemeral/.symlinks/plugins/glassfy_flutter/macosResolving dependencies ofPodfileCDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update [!] CocoaPods could not find compatible versions for pod "glassfy_flutter": In Podfile: glassfy_flutter (fromFlutter/ephemeral/.symlinks/plugins/glassfy_flutter/macos) Specs satisfying the glassfy_flutter (from Flutter/ephemeral/.symlinks/plugins/glassfy_flutter/macos)dependency were found, but they required a higher minimum deployment target. /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:317:inraise_error_unless_state'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:299:in block in unwind_for_conflict' <internal:kernel>:90:in tap'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:297:in unwind_for_conflict' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:682:in attempt_to_activate'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in process_topmost_state' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in resolve' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in resolve' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:94:in resolve'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1078:in block in resolve_dependencies' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in section'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1076:in resolve_dependencies' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:124:in analyze'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:416:in analyze' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:241:in block in resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in section' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:240:in resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:161:in install!' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in run'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in run' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/bin/pod:55:in <top (required)>'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in load' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in

'
Exception: Error running pod install
Exited`

Can't build IPA

Using 1.5.1 of glassfy_flutter

Minimum deployment target for IOS is 12.0

1.5.0 seems to also have the issue

Android is not effected, works fine

When running flutter build ipa

[!] CocoaPods could not find compatible versions for pod "GlassfyGlue":
      In snapshot (Podfile.lock):
        GlassfyGlue (= 1.3.6)

      In Podfile:
        glassfy_flutter (from `.symlinks/plugins/glassfy_flutter/ios`) was
        resolved to 1.4.0, which depends on
          GlassfyGlue (= 1.4.0)

    Specs satisfying the `GlassfyGlue (= 1.3.6), GlassfyGlue (= 1.4.0)`
    dependency were found, but they required a higher minimum deployment target.

GlassfyGlue seems to be nonexistent every time I try to google it. What minimum version does it need?

Gray screen when downloaded from appstore. Not testable locally

I released an app to both stores. It works perfectly on the playstore. And it works perfectly when running with 'flutter run' and 'flutter run --release' on a physical iOS device.

However, if I download the iOS version from the appstore. My paywall screen that loads the pricing information for my subscription is completely gray. It's almost like there is an error message there but not displaying because it's the production build

Again, there does not appear when downloaded / running the app from any other means that I've tested

Cannot connect to Glassify

Version: glassfy_flutter: ^1.3.9

PlatformException(GlassfyError(code=ServerError, description=Server error, debug=Invalid combination packagename / apikey sent:,expect:), null, null, null)

Fix compatibility with Gradle 8.0

This package is blocking the upgrade of gradle because it's missing the namespace attribute in the build.gradle.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':glassfy_flutter'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

     If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.