dreamsoftin / facebook_audience_network

Flutter Facebook Audience Network
https://pub.dartlang.org/packages/facebook_audience_network/
MIT License
156 stars 99 forks source link

iOS Implementation #19

Closed sandyara closed 4 years ago

BPHvZ commented 5 years ago

Is iOS implementation possible using UiKitView? https://api.flutter.dev/flutter/widgets/UiKitView-class.html

SachinGanesh commented 5 years ago

Possible. We don't have immediate plans of implementing it yet. We are open to PR's

malikdoksoz commented 4 years ago

We are waiting ios version

ghost commented 4 years ago

Does it have others solutions for IOS? any suggestion?

eleomilagrosa commented 4 years ago

Any Update?

Who ever willing to work on this. you can use this as reference.

https://pub.dev/packages/admob_flutter

casualcoder404 commented 4 years ago

Possible. We don't have immediate plans of implementing it yet. We are open to PR's

Please work on iOS implementation.

SachinGanesh commented 4 years ago

Hi all, iOS support is now available. Please check "ios" branch. If everything works fine we will release it through pub.dev

You can use the below dependecy to test the integration

facebook_audience_network: 
    git: 
      url: https://github.com/dreamsoftin/facebook_audience_network.git
      ref: ios
casualcoder404 commented 4 years ago

Hi all, iOS support is now available. Please check "ios" branch. If everything works fine we will release it through pub.dev

You can use the below dependecy to test the integration

facebook_audience_network: 
    git: 
      url: git@github.com:dreamsoftin/facebook_audience_network.git
      ref: ios

Thanks for iOS implementation @SachinGanesh 💯

But when run 'packages get' I get following error:

Git error. Command: git clone --mirror git@github.com:dreamsoftin/facebook_audience_network.git /Users/cascod/Developer/flutter/.pub-cache/git/cache/facebook_audience_network-d4d4259ce22ce45e5bd7ac76cce4e0e4514f9bfb

Cloning into bare repository '/Users/cascod/Developer/flutter/.pub-cache/git/cache/facebook_audience_network-d4d4259ce22ce45e5bd7ac76cce4e0e4514f9bfb'...

Host key verification failed.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

Please help.

SachinGanesh commented 4 years ago

Try this url https://github.com/dreamsoftin/facebook_audience_network.git instead of git@

casualcoder404 commented 4 years ago

I'm getting following errors in Xcode.

Screenshot 2020-05-13 at 5 53 58 PM
casualcoder404 commented 4 years ago

Any updates about iOS implementation @SachinGanesh sir? Thanks for this package.

SachinGanesh commented 4 years ago

@casualcoder404 Is the above issue solved?. I'm not able to reproduce it. Please share the full error log here.

PS: Now the iOS version is available through pub.dev (v 0.6.0)

casualcoder404 commented 4 years ago

https://github.com/dreamsoftin/facebook_audience_network/issues/38#issuecomment-634276747

casualcoder404 commented 4 years ago

38 (comment)

v0.6.1 fixed this issue. But that leads to another one which I've commented above.

Undefined symbols for architecture arm64: "_GULLoggerRegisterVersion", referenced from: _FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o) "GULLoggerInitializeASL", referenced from: FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o) "_GULLogBasic", referenced from: _FIRLogBasic in FirebaseCore(FIRLogger.o) "_GULLoggerEnableSTDERR", referenced from: _FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o) "GULLoggerForceDebug", referenced from: FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o) "_OBJCCLASS$_GULAppEnvironmentUtil", referenced from: objc-class-ref in FirebaseInstanceID(FIRInstanceID.o) objc-class-ref in FirebaseCore(FIRBundleUtil.o) "_GULSetLoggerLevel", referenced from: _FIRSetLoggerLevel in FirebaseCore(FIRLogger.o) "_OBJCCLASS$_GULAppDelegateSwizzler", referenced from: objc-class-ref in FirebaseMessaging(FIRMessaging.o) objc-class-ref in FirebaseMessaging(FIRMessagingAnalytics.o) objc-class-ref in FirebaseMessaging(FIRMessagingContextManagerService.o) objc-class-ref in FirebaseMessaging(FIRMessagingRemoteNotificationsProxy.o) "_OBJCCLASS$_GULReachabilityChecker", referenced from: objc-class-ref in FirebaseMessaging(FIRMessaging.o) "_OBJCCLASS$_GULUserDefaults", referenced from: objc-class-ref in FirebaseMessaging(FIRMessaging.o) objc-class-ref in FirebaseInstanceID(FIRInstanceID.o) objc-class-ref in FirebaseMessaging(FIRMessagingPubSub.o) objc-class-ref in FirebaseInstanceID(FIRInstanceIDUtilities.o) objc-class-ref in FirebaseInstanceID(FIRInstanceIDCheckinPreferences.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

This is maybe occurring since I've added NotificationServiceExtension target in my flutter project in order to receive rich notification with images. Can you please help?

SachinGanesh commented 4 years ago

Above error is not related to FAN SDK. Please raise your issue in FlutterFire repo