MaikuB / MaikuB/flutter_appauth

Duplicate symbols when integrating with flutter_zoom_videosdk

Open Beginner friendly
#648 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.