Comments (4)
This is the same for me, its not working with an ObjC project :(
from flutter_home_indicator.
According to this:
flutter/flutter#16049
Objective-C apps still cannot use Swift plugins as libraries (Podfile does not contain use_frameworks!), which is the default for a newly created Objective-C Flutter project. I'm going to use this issue to track these outstanding issues.
from flutter_home_indicator.
@soska12 @lynn @Codeusa Thanks very much
from flutter_home_indicator.
//#import <home_indicator/home_indicator-Swift.h>
#if __has_include(<home_indicator/home_indicator-Swift.h>)
#import <home_indicator/home_indicator-Swift.h>
#else
// Support project import fallback if the generated compatibility header
// is not copied when this plugin is created as a library.
// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816
#import "home_indicator-Swift.h"
#endif
this will be ok
from flutter_home_indicator.
Related Issues (10)
- Property does not override any property from its superclass HOT 7
- The plugin `home_indicator` uses a deprecated version of the Android embedding. HOT 1
- Plugin not working HOT 2
- Lexical or Preprocessor Issue (Xcode): 'home_indicator-Swift.h' file not found HOT 3
- Build fail / Missing file: home_indicator-Swift.h HOT 3
- update kotlin version in android/build.gradle HOT 2
- I can't use this plugin HOT 3
- Add null safety support HOT 4
- Migration to Android V2 embedding HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_home_indicator.