dengage-tech / dengage-react-sdk

MIT License
2 stars 3 forks source link

InAppInlineView.swift error #10

Open dayaki opened 1 month ago

dayaki commented 1 month ago

I upgraded our react native from 0.63.3 to 0.64.4 and also upgrade Dengage from 0.1.9 to 1.0.4 and everything seems to work except Dengage, I keep getting this error:

/Users/username/Projects/mobile-app/node_modules/@dengage-tech/react-native-dengage/ios/InAppInlineView.swift:45:36 Extra arguments at positions #2, #4 in call

any idea how I can resolve this, what is the right dengage version to install for my react native version?

cumali-demir commented 1 week ago

any update???

dayaki commented 1 week ago

No update. still stuck

hasnainTanvir commented 1 week ago

hi @dayaki which dengage ios pod version are you using ?

dayaki commented 1 week ago

@hasnainTanvir how do I know the version?

here is what i found in my podfile

  pod 'Dengage.Framework'
  pod 'Dengage.Framework.Extensions'
# pod 'Dengage.Framework', '~> 4.1.2'
# pod 'Dengage.Framework.Extensions','1.0.10'
hasnainTanvir commented 1 week ago

my friend @dayaki it seems you are using the older version of the sdk which is not supported now

please check the stable branch > example for new sdk code

also check the pod file for ios

build Gradle for android

the new sdks for each platform.is also attached with the RN version

dayaki commented 1 week ago

@hasnainTanvir am I missing something?, the example iOS podfile shows pod 'Dengage.Framework' and I am also using same in my code as above.

whitehorse-technology commented 1 week ago

@dayaki you can check this example for better understanding

https://github.com/dengage-tech/dengage-react-sdk/tree/stable_branch/example