MaikuB / MaikuB/flutter_appauth
Duplicate symbols when integrating with flutter_zoom_videosdk
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 308
- Forks
- 301
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 5
Description
In [FlutterAppauthPlugin.m](https://github.com/MaikuB/flutter_appauth/blob/master/flutter_appauth/ios/flutter_appauth/Sources/flutter_appauth/FlutterAppauthPlugin.m)
The problem lies in the fact that both .m files of the plugin declare:
FlutterMethodChannel *channel;
In Objective-C, if this variable is declared outside the @interface block or without the static keyword, it becomes a global symbol, leading to conflicts when linking libraries together.
Please fix that
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ios/flutter_appauth/Sources/flutter_appauth/FlutterAppauthPlugin.m and inspect the other Objective-C implementation file in the plugin for the duplicate FlutterMethodChannel declaration. Verify the symbol is no longer duplicated by integrating the plugin with flutter_zoom_videosdk and confirming the libraries link successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flutter, objective-c
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 75/100