Coder Social home page Coder Social logo

mocean-sdk-ios's People

Contributors

artemsamalov avatar mureev avatar pm-prabhakar-bhosale avatar pm-sergey-tsoy avatar

Watchers

 avatar

mocean-sdk-ios's Issues

Ad not being centered vertically

What steps will reproduce the problem?
1. Create test ad with a frame height > 100 and setContentAlignment to YES.
2. When frame has a larger height than the ad, ad shows top aligned, instead of 
centered.

What is the expected output? What do you see instead?
The ad should appear vertically aligned when frame is larger.

What version of the product are you using? On what operating system?
iOS 5, iPad.

Please provide any additional information below.
Fix is easy:

In AdDescriptHelper.m change table height from 'device-height' to '100%'. 
Attached patch.


Original issue reported on code.google.com by [email protected] on 10 Nov 2011 at 8:51

Attachments:

showPreviousAdOnError crash

What steps will reproduce the problem?
1. Tried to set [adView showPreviousAdOnError:NO];
2. Run the app, crash!

What is the expected output? What do you see instead?
Not crashing

What version of the product are you using? On what operating system?
2.10.0 SDK on iPad iOS 5.0

Please provide any additional information below.

Getting this crash log:
2012-03-02 12:04:58.381 HopStop for iPad[1345:707] -[MASTAdView 
showPreviousAdOnError:]: unrecognized selector sent to instance 0x38a250
2012-03-02 12:04:58.383 HopStop for iPad[1345:707] *** Terminating app due to 
uncaught exception 'NSInvalidArgumentException', reason: '-[MASTAdView 
showPreviousAdOnError:]: unrecognized selector sent to instance 0x38a250'

Original issue reported on code.google.com by [email protected] on 2 Mar 2012 at 5:07

Rich media banners are displayed at half size

What steps will reproduce the problem?
1. Run sample
2. Tap 'Rich Media' 
3. Banner image is displayed at half size

What is the expected output? What do you see instead?
Banner image to display at full size. Fill the whole ad view.

What version of the product are you using? On what operating system?
SDK 2.11. iOS 5. Simulator and device

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 22 May 2012 at 2:53

Attachments:

MASTAdDelegate.h Needs to indicate callbacks performed outside of main thread

What steps will reproduce the problem?
1. create ad/call update
2. perform uiview manipulation in willReceiveAd: 
3. nothing happens, or action is delayed

What is the expected output? What do you see instead?
it appears this function is being called from a thread outside the main thread. 
This should be indicated in the documentation.

What version of the product are you using? On what operating system?
https://code.google.com/p/mocean-sdk-ios/@8229ffc62abfede7383abde1bb4ec5c0349f8f
13 

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 May 2012 at 11:27

Large number of analyze errors in ServerXMLResponseParser.m

What steps will reproduce the problem?
1. Run analyze on a project that uses the AdMobile SDK

What is the expected output? What do you see instead?

There should be no warnings about memory errors in the file 
ServerXMLResponseParser.m

Instead of this there are a large number of warnings and examining the code 
indicates various memory management mistakes that could lead to an application 
crash.


What version of the product are you using? On what operating system?

Version 2.8.0

Please provide any additional information below.

This is an example of code that is incorrect. The release calls are not 
necessary as the property is being set to nil which will release the object.

    [self.campaignId release];
    self.campaignId = nil;
    [self.trackUrl release];
    self.trackUrl = nil;
    [self.appId release];
    self.appId = nil;
    [self.adId release];
    self.adId = nil;
    [self.adType release];
    self.adType = nil;
    [self.latitude release];
    self.latitude = nil;
    [self.longitude release];
    self.longitude = nil;
   [self.zip release];
    self.zip = nil;

Original issue reported on code.google.com by [email protected] on 2 Nov 2011 at 10:57

Done Button on Ad Window does not work

What steps will reproduce the problem?
1. Start the app on landscape
2. Rotate to portrait
3. Tap on Ad
4. Try tapping on Done Button, it won't work. You need to rotate again to 
landscape for it to work.

What is the expected output? What do you see instead?
Tapping on Done Button should always work

What version of the product are you using? On what operating system?
2.9.0 on IOS 5, ipad

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 3 Jan 2012 at 6:12

Possible memory leak

OrmmaAdaptor.m, line 415 has:
  ekEvent.endDate   = [[NSDate alloc] initWithTimeInterval:600 sinceDate:ekEvent.startDate];
and should be
  ekEvent.endDate   = [[[NSDate alloc] initWithTimeInterval:600 sinceDate:ekEvent.startDate] autorelease];
After all, endDate is a property with copy attribute.

Original issue reported on code.google.com by [email protected] on 1 Feb 2012 at 1:24

Transparent ads aren't erased between ad requests when animation is turned off

What steps will reproduce the problem?
1. Configure a zone with a few ad creatives with transparent images, different 
enough that when stacked on top of each other, the others show through the 
transparent areas.
2. Set animateMode = NO to turn off animations on the ad.
3. Make multiple ad requests using the same ad instance and the zone created in 
step 1 above.

What is the expected output? What do you see instead?
Expect the previous ad to be cleared when showing a new ad.  Instead, the 
previous ads are not cleared and the ads stack one on top of the other, with 
the lower ads showing through the transparent areas of the ones above them.

What version of the product are you using? On what operating system?
Reproduced in iOS SDK 2.5.0 and 2.5.2.

Please provide any additional information below.

I fixed the issue in our copy of the source code by adding the following to the 
AdView displayAd method below the "subView.hidden = NO;" line:

            // If we aren't animating then the previous ad isn't moved out of view and if the ad on top
            // has transparent areas then the previous ad shows through.
            if (!model.animateMode && currentAdView)
            {
                currentAdView.hidden = YES;
            }

Original issue reported on code.google.com by [email protected] on 29 Jul 2011 at 5:47

[MASTAdView setLocationDetectionEnabled:YES] does not work well on a UITabViewController

What steps will reproduce the problem?
1. Set a UITabViewController, each will have a MASTAdView
2. Set [MASTAdView setLocationDetectionEnabled:YES]; when creating the ad.

What is the expected output? What do you see instead?
Always pass lat, long. What I see is that lat=, long= are only being passed on 
the first tab that updated the ad after getting the location: (this is the 
message in the log).

Ad  - Location Manager Location Update - <+40.xxxx,-73.xxxx> +/- 

I think that this is due to that it only gets the latitude, longitude values 
once (when listening for device location updates) and sets them. But the other 
tabs won't be able to get this location update and thus will never pass 
latitude nor longitude.
The previous SDK worked well with this scenario. 

Another thing is that it used to call update when a new location was found, 
this new version of the SDK does not.

What version of the product are you using? On what operating system?
SDK 2.11.0, iOS SDK 5.1, tested on iPad 1 running ios 5.1

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 30 Apr 2012 at 4:25

Add class prefix

What steps will reproduce the problem?
1. Import library.
2. There might be overlap with commonly used names for certain classes such as 
LocationManager
3. Xcode complains, or app breaks.

What is the expected output? What do you see instead?
Name files and libraries using prefixes, such as MOCLocationManager or 
MOCAdView in order to avoid conflicts.

What version of the product are you using? On what operating system?
2.8.0

Please provide any additional information below.
Here is a link with prefixes already being used: 
http://www.cocoadev.com/index.pl?ChooseYourOwnPrefix
It is ideal to have prefixes, other commonly used libraries such as Google 
Analytics has a GAN prefix.

Original issue reported on code.google.com by [email protected] on 16 Nov 2011 at 3:34

Carrier propert not being set automatically

What steps will reproduce the problem?
1. Debug an app using the SDK on an iPhone.
2. Look at the log statements for the carrier parameter.
3.

What is the expected output? What do you see instead?
Carrier is automatically set to the device's carrier.  Carrier is blank or 
missing.

What version of the product are you using? On what operating system?
iOS SDK 2.5.0.

Please provide any additional information below.
It clearly states on this page that this is one of properties the SDK fills in 
automatically:

http://developer.moceanmobile.com/SDK-API_Calls


Original issue reported on code.google.com by [email protected] on 29 Jul 2011 at 5:58

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.