Code Monkey home page Code Monkey logo

flutter_udid's Introduction

Hi, I'm Leon πŸ‘‹

  • Started programming at 12 and always been focused on delivering projects with high impact
  • 24 years old and located in Berlin
  • Former tech lead at Pflegia
  • Soon traveling around the world, while finally tinkering on my own projects again
  • For collaboration contact me at [email protected] πŸ˜„

Skills

πŸ‘¨β€πŸ’» Programming languages

Java, Dart, TypeScript, JavaScript

βš™οΈ Frameworks and Tools

Flutter, Android (native), React, Svelte

πŸ’½ Databases

SQL, PostgreSQL, MongoDB

flutter_udid's People

Contributors

gigadroid avatar hacker-cb avatar koji-1009 avatar nilsreichardt avatar rohitsangwan01 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

flutter_udid's Issues

cocopod : Error running pod install

Error When using flutter_udid package.

If remove it from pubspec.yaml it works fine . Please help

Launching lib/main.dart on Iphone XR in debug mode...
Running pod install...
CocoaPods' output:
↳
Exited (sigterm)
Error running pod install

A problem occurred configuring project ':flutter_udid'

  • The error message:

A problem occurred configuring project ':flutter_udid'.

Could not load compiled classes for build file 'C:\Users\deepe\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_udid-2.0.1<0>android\build.gradle' from cache.
Failed to notify project evaluation listener.
Could not get unknown property 'android' for project ':flutter_udid' of type org.gradle.api.Project.
Could not get unknown property 'android' for project ':flutter_udid' of type org.gradle.api.Project.

Error Image

  • Development Environment

The Flutter SDK version: 3.7.11
The vs code version: 1.81.0
The operating system: windows 11

The expected behavior: The build should succeed without any errors.

* Error running Gradle:

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.2.51 and higher. Project 'flutter_udid' is using version 1.2.30.

registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
WARNING: The specified Android SDK Build Tools version (25.0.3) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.2.1.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '25.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
WARNING: The specified Android SDK Build Tools version (28.0.2) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.2.1.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '28.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
WARNING: The specified Android SDK Build Tools version (25.0.3) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.2.1.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '25.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

SWIFT_VERSION

  • flutter_udid does not specify a Swift version and none of the targets (Runner) integrating it have the SWIFT_VERSION attribute set. Please contact the author or
    set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.

[v1.1.0] Crash on Android in onDetachedFromEngine()

Hi,

Thank you for the great plugin. It's super helpful.

For the topic:
The crash happens when you close the app (i.e. destroy its main activity).
From what I can find, the channel property seems never used (local variable is used instead).
Here is a stacktrace:

FATAL EXCEPTION: main
Process: com.example.app, PID: 25611
java.lang.RuntimeException: Unable to destroy activity {com.example.app/com.example.app.MainActivity}: kotlin.UninitializedPropertyAccessException: lateinit property channel has not been initialized
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4480)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4498)
at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:39)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1814)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:280)
at android.app.ActivityThread.main(ActivityThread.java:6706)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: kotlin.UninitializedPropertyAccessException: lateinit property channel has not been initialized
at de.gigadroid.flutterudid.FlutterUdidPlugin.onDetachedFromEngine(FlutterUdidPlugin.kt:56)

at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.remove(FlutterEngineConnectionRegistry.java:262)
at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.remove(FlutterEngineConnectionRegistry.java:270)
at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.removeAll(FlutterEngineConnectionRegistry.java:278)
at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.destroy(FlutterEngineConnectionRegistry.java:122)
at io.flutter.embedding.engine.FlutterEngine.destroy(FlutterEngine.java:434)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onDetach(FlutterActivityAndFragmentDelegate.java:576)
at io.flutter.embedding.android.FlutterActivity.release(FlutterActivity.java:587)
at io.flutter.embedding.android.FlutterActivity.onDestroy(FlutterActivity.java:608)
at android.app.Activity.performDestroy(Activity.java:7395)
at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1307)
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4465)
... 11 more

UDID Is changing everywhile

I am working on an application where i must store a unique id for the device for my users.
but after app updates the udid sometimes changes (i didn't upgrade my mobile device version)

How Safe are the UUIDs?

How sure can we be, that the IDs are unique between devices? Any Reference on that? Could there be situations where a ID might have dublicates?

Obtain a UDID without using keychain.

Since the UDID is stored in the keychain, and the keychain gets synchronized across devices, it would be nice to have a function that gets the original UDID directly from the OS, so we can bypass any keychain storage if needed.

If you are open to accepting a PR for this, we could definitely submit one.

Can't assembleRelease

Hello there,

Thanks for the great plugin. I'm having a problem compiling the release version of the app.

Ξ» flutter build apk                                                                                                                                                                                 
Initializing gradle...                                              1,3s
Resolving dependencies...                                           6,5s

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:dynamicProfileRuntimeClasspath'.
   > Could not resolve project :flutter_udid.
     Required by:
         project :app
      > java.lang.NullPointerException (no error message)

* 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

BUILD FAILED in 12s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                      13,4s
Gradle task assembleRelease failed with exit code 1

It runs fine in debug mode.

`flutter_udid` does not specify a Swift version

When I try to run my app on iOS using flutter build ios I get this error:

flutter_udid does not specify a Swift version and none of the targets (Runner) integrating it have the SWIFT_VERSION attribute set. Please
contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.

Full output:

$ flutter build ios
Building com.usdentaldepot.masterdental for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: K85NPKGW53
Running pod install...                                              2.1s
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

    Finding Podfile changes
      A flutter_udid
      M Flutter
      - firebase_analytics
      - firebase_core
      - firebase_dynamic_links
      - flutter_secure_storage
      - flutter_webview_plugin
      - package_info
      - path_provider
      - screen
      - share
      - sqflite
      - url_launcher
      - video_player

    Fetching external sources
    -> Fetching podspec for `Flutter` from `.symlinks/flutter/ios-release`
    -> Fetching podspec for `firebase_analytics` from `.symlinks/plugins/firebase_analytics/ios`
    -> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
    -> Fetching podspec for `firebase_dynamic_links` from `.symlinks/plugins/firebase_dynamic_links/ios`
    -> Fetching podspec for `flutter_secure_storage` from `.symlinks/plugins/flutter_secure_storage/ios`
    -> Fetching podspec for `flutter_udid` from `.symlinks/plugins/flutter_udid/ios`
    -> Fetching podspec for `flutter_webview_plugin` from `.symlinks/plugins/flutter_webview_plugin/ios`
    -> Fetching podspec for `package_info` from `.symlinks/plugins/package_info/ios`
    -> Fetching podspec for `path_provider` from `.symlinks/plugins/path_provider/ios`
    -> Fetching podspec for `screen` from `.symlinks/plugins/screen/ios`
    -> Fetching podspec for `share` from `.symlinks/plugins/share/ios`
    -> Fetching podspec for `sqflite` from `.symlinks/plugins/sqflite/ios`
    -> Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`
    -> Fetching podspec for `video_player` from `.symlinks/plugins/video_player/ios`

    Resolving dependencies of `Podfile`

    Comparing resolved specification to the sandbox manifest
      A FMDB
      A Firebase
      A FirebaseAnalytics
      A FirebaseAnalyticsInterop
      A FirebaseCore
      A FirebaseDynamicLinks
      A FirebaseInstanceID
      A Flutter
      A GoogleAppMeasurement
      A GoogleUtilities
      A SAMKeychain
      A firebase_analytics
      A firebase_core
      A firebase_dynamic_links
      A flutter_secure_storage
      A flutter_udid
      A flutter_webview_plugin
      A nanopb
      A package_info
      A path_provider
      A screen
      A share
      A sqflite
      A url_launcher
      A video_player

    Downloading dependencies

    -> Installing FMDB (2.7.5)
      > Copying FMDB from `/Users/marcosgallardo/Library/Caches/CocoaPods/Pods/Release/FMDB/2.7.5-2ce00` to `Pods/FMDB`

    -> Installing Firebase (6.1.0)
      > Copying Firebase from `/Users/marcosgallardo/Library/Caches/CocoaPods/Pods/Release/Firebase/6.1.0-8d77b` to `Pods/Firebase`

    -> Installing FirebaseAnalytics (6.0.1)
      > Copying FirebaseAnalytics from `/Users/marcosgallardo/Library/Caches/CocoaPods/Pods/Release/FirebaseAnalytics/6.0.1-62930` to
      `Pods/FirebaseAnalytics`

    -> Installing FirebaseAnalyticsInterop (1.2.0)
      > Copying FirebaseAnalyticsInterop from `/Users/marcosgallardo/Library/Caches/CocoaPods/Pods/Release/FirebaseAnalyticsInterop/1.2.0-efbe4` to
      `Pods/FirebaseAnalyticsInterop`

    -> Installing FirebaseCore (6.0.1)
      > Copying FirebaseCore from `/Users/marcosgallardo/Library/Caches/CocoaPods/Pods/Release/FirebaseCore/6.0.1-66bde` to `Pods/FirebaseCore`

    -> Installing FirebaseDynamicLinks (4.0.0)
      > Copying FirebaseDynamicLinks from `/Users/marcosgallardo/Library/Caches/CocoaPods/Pods/Release/FirebaseDynamicLinks/4.0.0-25fc4` to
      `Pods/FirebaseDynamicLinks`

    -> Installing FirebaseInstanceID (4.1.0)
      > Copying FirebaseInstanceID from `/Users/marcosgallardo/Library/Caches/CocoaPods/Pods/Release/FirebaseInstanceID/4.1.0-27bed` to
      `Pods/FirebaseInstanceID`

    -> Installing Flutter (1.0.0)

    -> Installing GoogleAppMeasurement (6.0.1)
      > Copying GoogleAppMeasurement from `/Users/marcosgallardo/Library/Caches/CocoaPods/Pods/Release/GoogleAppMeasurement/6.0.1-51d8d` to
      `Pods/GoogleAppMeasurement`

    -> Installing GoogleUtilities (6.1.0)
      > Copying GoogleUtilities from `/Users/marcosgallardo/Library/Caches/CocoaPods/Pods/Release/GoogleUtilities/6.1.0-84df5` to
      `Pods/GoogleUtilities`

    -> Installing SAMKeychain (1.5.3)
      > Copying SAMKeychain from `/Users/marcosgallardo/Library/Caches/CocoaPods/Pods/Release/SAMKeychain/1.5.3-483e1` to `Pods/SAMKeychain`

    -> Installing firebase_analytics (0.0.1)
     > Running prepare command
       $ /bin/bash -c  set -e echo // Generated file, do not edit > Classes/UserAgent.h echo "#define LIBRARY_VERSION @\"5.0.2\"" >>
       Classes/UserAgent.h echo "#define LIBRARY_NAME @\"flutter-fire-analytics\"" >> Classes/UserAgent.h

    -> Installing firebase_core (0.0.1)
     > Running prepare command
       $ /bin/bash -c  set -e echo // Generated file, do not edit > Classes/UserAgent.h echo "#define LIBRARY_VERSION @\"0.4.0-9\"" >>
       Classes/UserAgent.h echo "#define LIBRARY_NAME @\"flutter-fire-core\"" >> Classes/UserAgent.h

    -> Installing firebase_dynamic_links (0.1.0)
     > Running prepare command
       $ /bin/bash -c  set -e echo // Generated file, do not edit > Classes/UserAgent.h echo "#define LIBRARY_VERSION @\"0.5.0-1\"" >>
       Classes/UserAgent.h echo "#define LIBRARY_NAME @\"flutter-fire-dl\"" >> Classes/UserAgent.h

    -> Installing flutter_secure_storage (3.3.1)

    -> Installing flutter_udid (0.0.1)

    -> Installing flutter_webview_plugin (0.0.1)

    -> Installing nanopb (0.3.901)
      > Copying nanopb from `/Users/marcosgallardo/Library/Caches/CocoaPods/Pods/Release/nanopb/0.3.901-2901f` to `Pods/nanopb`

    -> Installing package_info (0.0.1)

    -> Installing path_provider (0.0.1)

    -> Installing screen (0.0.1)

    -> Installing share (0.5.2)

    -> Installing sqflite (0.0.1)

    -> Installing url_launcher (0.0.1)

    -> Installing video_player (0.0.1)
      - Running pre install hooks
    [!] Unable to determine Swift version for the following pods:

    - `flutter_udid` does not specify a Swift version and none of the targets (`Runner`) integrating it have the `SWIFT_VERSION` attribute set. Please
    contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/lib/cocoapods/installer/xcode/target_validator.rb:115:in
    `verify_swift_pods_swift_version'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/lib/cocoapods/installer/xcode/target_validator.rb:37:in `validate!'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/lib/cocoapods/installer.rb:459:in `validate_targets'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/lib/cocoapods/installer.rb:138:in `install!'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/lib/cocoapods/command/install.rb:48:in `run'
    /Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/lib/cocoapods/command.rb:52:in `run'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/gems/cocoapods-1.6.0/bin/pod:55:in `<top (required)>'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/bin/pod:22:in `load'
    /usr/local/Cellar/cocoapods/1.6.0/libexec/bin/pod:22:in `<main>'

Error output from CocoaPods:
↳

    [!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for
    this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Flutter doctor:

Doctor summary (to see all details, run flutter doctor -v):
[βœ“] Flutter (Channel stable, v1.9.1+hotfix.4, on Mac OS X 10.14.6 18G103, locale en-AR)
 
[βœ“] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[βœ“] Xcode - develop for iOS and macOS (Xcode 11.0)
[!] Android Studio (version 3.4)
    βœ— Flutter plugin not installed; this adds Flutter specific functionality.
    βœ— Dart plugin not installed; this adds Dart specific functionality.
[βœ“] VS Code (version 1.38.1)
[βœ“] Connected device (1 available)

! Doctor found issues in 1 category.

Hope you can help me.
Thanks.

Android Build Error

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':flutter_udid' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

Breaking change in latest version of Flutter

With Flutter version 1.1.8 the plugin now fails:

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.2.51 and higher. Project 'flutter_udid' is using version 1.2.30.

Flutter Doctor output:

flutter.bat doctor --verbose
[√] Flutter (Channel beta, v1.1.8, on Microsoft Windows [Version 10.0.17134.523], locale en-US)
    β€’ Flutter version 1.1.8 at C:\flutter
    β€’ Framework revision 985ccb6d14 (6 weeks ago), 2019-01-08 13:45:55 -0800
    β€’ Engine revision 7112b72cc2
    β€’ Dart version 2.1.1 (build 2.1.1-dev.0.1 ec86471ccc)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    β€’ Android SDK at C:\Users\austin.rappa\AppData\Local\Android\sdk
    β€’ Android NDK location not configured (optional; useful for native profiling support)
    β€’ Platform android-28, build-tools 28.0.3
    β€’ Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    β€’ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    β€’ All Android licenses accepted.

[√] Android Studio (version 3.3)
    β€’ Android Studio at C:\Program Files\Android\Android Studio
    β€’ Flutter plugin version 33.0.1
    β€’ Dart plugin version 182.5215
    β€’ Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[√] VS Code, 64-bit edition (version 1.31.1)
    β€’ VS Code at C:\Program Files\Microsoft VS Code
    β€’ Flutter extension version 2.23.0

[√] Connected device (1 available)
    β€’ Android SDK built for x86 β€’ emulator-5554 β€’ android-x86 β€’ Android 9 (API 28) (emulator)

β€’ No issues found!
Process finished with exit code 0

Use UDID for device token APNS

Hello,

I'm asking myself a question, can we use the UDID wich generate by this plugin, for device token parameter of api call at APNS endpoint for display notification in ios device ?

I use this, and APNS return me BadDeviceToken

Thanks for your advice.

Can unique id change with system update?

Hi, thanks for sharing this awesome lib. But i'm afraid to use it in production because I don't know how it would behave if the user device gets updated (like operational system, my app version, etc.).

Would the unique id change with the system update? For example:

  1. User installed my app using Android 7;
  2. The app gets some unique id like (using consistent): a8e4df7ff2e2abaf2dd081fbea35183533342e8b2c8dfa2cd1acea2c1ed640eb;
  3. User updates his Android version to 8.1;
  4. Here is the question: Would the unique id change? The unique id will be the same?

Thanks in advance!

Great lib!

Is this package compliant with Google Play Families Policy Requirements?

I would like to use this package in an app, but Google Play Families Policy Requirements states:

Apps that target both children and older audiences must not transmit AAID, SIM Serial, Build Serial, BSSID, MAC, SSID, IMEI, and/or IMSI from children or users of unknown age.

I don't know how these IDs relate to flutter_udid. Am I allowed to transmit the string obtained using the following code?

import 'package:flutter_udid/flutter_udid.dart';
String udid = await FlutterUdid.udid;

Error while compiling for Android

Hi when I compile my app for android I got this error:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.2.51 and higher. Project 'flutter_udid' is using version 1.2.30.

Cocoapod issue

I'm getting this error when I try to run my application in iOS.

The Swift pod flutter_udid depends upon SAMKeychain, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers! globally in your Podfile, or specify :modular_headers => true for particular dependencies.

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl

Hi,
I tried to compile android flutter_udid using gradle 8.1.4 and also 8.2.1.
I have got an error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':flutter_udid'.
> 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.

* 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.

BUILD FAILED in 1m 34s
Exception: Gradle task assembleDebug failed with exit code 1

when I remove the flutter_udid package, then the app compiles.

More than one uuid on ios

I have been using this for a while and discovered that ios keeps getting two different ids at different times for the same device. I haven't figured out what could have triggered the switch, I experimented with having CarPlay connected and disconnected but that doesn't seem to make the difference.

AGAIN, I didn't reset my phone/device or even upgrade ios

Upgrade gradle version to 8

You should upgrade Gradle version to 8 in
android/build.gradle

        classpath 'com.android.tools.build:gradle:7.3.0'

Windows & Linux support

Are there any plans for Windows & Linux support? It should be straightforward to add support for those when adding another package as a dependency. We are willing to file PRs if that is of interest.

1 error generated.

#import <flutter_udid/flutter_udid-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error in pod

Hi, i got an error

The Swift pod flutter_udid depends upon SAMKeychain, which do not define modules.

please advise what to do.
in android it has no problem.

thanks

There was an error in flutter 2.0

MissingPluginException(No implementation found for method getUDID on channel flutter_udid)

Used in the previous project, can you help me solve it?

Setting the namespace

Incorrect package="de.gigadroid.flutter_udid" found in source AndroidManifest.xml: /Users/xxx/.pub-cache/hosted/pub.dev/flutter_udid-2.1.0/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.

Unable to determine Swift version for the following pods

Error appears when getting dependencies. Part of the log below.

CocoaPod version: 1.6.0.beta.2

`Installing flutter_udid (0.0.1)
Running pre install hooks
Unable to determine Swift version for the following pods

flutter_udid does not specify a Swift version and none of the targets (Runner) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.`

Issue with 'swift_versions' in plugin version 1.0.1

During the production build for ios, I've faced with the following issue:

[!] Failed to load 'flutter_udid' podspec: 
    [!] Invalid `flutter_udid.podspec` file: undefined method `swift_versions=' for #<Pod::Specification name="flutter_udid">
    Did you mean?  swift_version=
                   swift_version.
     #  from /Users/vagrant/git/ios/.symlinks/plugins/flutter_udid/ios/flutter_udid.podspec:20
     #  -------------------------------------------
     #    s.ios.deployment_target = '8.0'
     >    s.swift_versions = ['4.0', '4.2', '5.0']
     #  end
     #  -------------------------------------------

The problem is clearly with this line:
> s.swift_versions = ['4.0', '4.2', '5.0'] as described above.

I've checked the 1.0.0 version - it works without any problems.

Null safety support

Hi,
are there any intends to make this plugin null safety supportive?
Thanks for reply.

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.