Closed SergeShkurko closed 9 months ago
App crushed when i run it on macOS
Auth0 cocoapods package supports macOS platform. Will need only expose it availability
No response
I made simple implementation. But i did't reuse code. I did copy some ios code to macos folder and made small fixes for availability to work
in next time will need compose ios / macos in one folder & will use conditions in swift / objc like this:
#if os(iOS) import Flutter import UIKit #elseif os(macOS) import Cocoa import FlutterMacOS #endif import CoreGraphics
SergeShkurko:feature/macos_support
# set `platform :osx, '11.0'` here `macos/Podfile` # setup build target version to `11.0` anywhere in projec. Will need: # edit `xcode->Project Runner->Build Settings-> MACOSX_DEPLOYMENT_TARGET==11.0` # then `xcode->Targets Runner->Build Settings-> MACOSX_DEPLOYMENT_TARGET==11.0` # add to pubspec.yaml dependency_overrides: auth0_flutter: git: url: https://github.com/SergeShkurko/auth0-flutter.git ref: feature/macos_support path: auth0_flutter
Hi @SergeShkurko, thanks for raising this.
We already have an open feature request for this: #173, so I'll go ahead and close this one.
Checklist
Describe the problem you'd like to have solved
App crushed when i run it on macOS
Describe the ideal solution
Auth0 cocoapods package supports macOS platform. Will need only expose it availability
Alternatives and current workarounds
No response
Additional context
I made simple implementation. But i did't reuse code. I did copy some ios code to macos folder and made small fixes for availability to work
in next time will need compose ios / macos in one folder & will use conditions in swift / objc like this:
SergeShkurko:feature/macos_support