Comments (9)
@vegidio It's working for me.
from flutter-appodeal.
@vegidio It is working fine now. Thanks for your time.
from flutter-appodeal.
Thanks for reporting it. Can you share a piece of code that recreates this bug?
from flutter-appodeal.
This is my entry point in main.dart file and this is how I initialize Appodeal.
`Future mainDelegate() async {
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarColor: Colors.transparent, // status bar color
statusBarBrightness: Brightness.dark, //status bar brigtness
statusBarIconBrightness: Brightness.dark, //status barIcon Brightness
systemNavigationBarIconBrightness: Brightness.dark, //navigation bar icon
));
Appodeal.setAppKeys(
androidAppKey: 'android_api_key',
iosAppKey: 'ios_api_key',
);
//Crashes here while initialization
await Appodeal.initialize(
hasConsent: true,
adTypes: [AdType.BANNER, AdType.INTERSTITIAL, AdType.REWARD, AdType.NON_SKIPPABLE],
testMode: true,
verbose: true);
runApp(MyApp());
}`
To debug more, I edited the Appodel library directly and commented out _setCallbacks() function, and removed calling _setCallbacks() function inside initialize() method. Then it worked as expected.
as Future Function(MethodCall)?); - This particular piece of code is added in the latest version at _setCallbacks() method.
I tried out the example project provided in the library. It works fine because it is using version 0.6.0.
from flutter-appodeal.
Thanks, I will investigate this later today.
Just curious, why do you think the example project is using version 0.6.0
? It actually imports the library directly from the /lib
folder.
from flutter-appodeal.
as Future Function(MethodCall)?); - I couldn't find this piece of code at _setCallbacks() method in the example project and checked pubspec.yaml, it shows the library version is 0.6.0. So I guessed it is using the older version of the library. Correct me if I'm wrong.
from flutter-appodeal.
Hello,
Are there any updates? I have a same issue in 1.0.0.
from flutter-appodeal.
@senthamizhraj @SleepyMrPanda Please update your pubspec.yaml
file and import appodeal_flutter
directly from the bugfix branch that I created (see below). Let me know if the version in this branch fixed the error and I will merge it in case it's working.
appodeal_flutter:
git:
url: https://github.com/vegidio-flutter/appodeal.git
ref: bugfix/set-callback
Thanks.
from flutter-appodeal.
Fixed in version 1.0.1
from flutter-appodeal.
Related Issues (20)
- Null-safety support? HOT 2
- Can you please support Native ad? HOT 7
- [Feature request] MREC support HOT 2
- v1.1.0 Error: Could not find ads-sdk-3.7.1.4.aar (com.pangle.global:ads-sdk:3.7.1.4). HOT 4
- Update skd to 2.10.2 (6 August, 2021) HOT 1
- var userConsent = await Appodeal.fetchConsentInfo() return null exception HOT 5
- Platform exception in Android Tv HOT 2
- Set UserId for server-to-server (S2S) rewarded video callbacks HOT 1
- crash - app crashes when launching intestitial or reward ad HOT 2
- Can't test the example HOT 1
- How to show bigger banner ads?
- Incompatible version of Kotlin HOT 1
- Example not working on real iOS device HOT 1
- SKAdNetworkIdentifier missing
- NSUserTrackingUsageDescription data collection HOT 1
- Appodeal.destroy is missing
- Error installing AppRollSDK HOT 5
- Could you please Upgrade to Appodeal SDK 2.10.3+
- Ios pod error
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-appodeal.