Closed jgberg closed 9 years ago
yes, I can reproduce your problem. I think it's bug in sdk. will report to mobfox team.
video ad:
invalid position if rotate screen:
I've created a support ticket at MobFox website.
I also filled a ticket saying that we need this fixed too, and also that changing the background color & X should be exposed in their API.
thanks Jeffrey
On Sun, Nov 2, 2014 at 2:25 AM, Raymond Xie notifications@github.com wrote:
I've created a support ticket at MobFox website.
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61400759 .
following advice from mobfox support team, i re-update the 6.0 sdk, and now it's fixed. i guess the sdk previously used is not updated in time.
also added the armv7s build, as it's removed from default by xcode 6.0
So I need to rm and add back the plugin, right?
On Tuesday, November 4, 2014, Raymond Xie notifications@github.com wrote:
also added the armv7s build, as it's removed from default by xcode 6.0
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61747520 .
yes
I accidentally did an add first, which failed because it's already install. Then I did a rm and I get this failure... This is a showstopper problem. Remember I only have iOS ... i do not install android at this time.
Uninstalling com.rjfun.cordova.mobfox from ios
Removing "com.rjfun.cordova.mobfox"
Error: ENOENT, no such file or directory '/Users/jeffreygreenberg/Documents/lines1/plugins/com.mobfox.sdk/plugin.xml'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.readFileSync (fs.js:284:15)
at Object.module.exports.parseElementtreeSync
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/util/xml-helpers.js:121:27)
at findDependencies
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/uninstall.js:121:34)
at
/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/uninstall.js:126:17
at Array.forEach (native)
at findDependencies
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/uninstall.js:123:14)
at Function.module.exports.uninstallPlugin
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/uninstall.js:130:5)
at
/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/plugin.js:209:54 at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:798:54
On Tue, Nov 4, 2014 at 7:27 PM, Raymond Xie notifications@github.com wrote:
yes
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61754825 .
com.mobfox.sdk is a plugin to install mobfox sdk only.
just retry, remove and re-add.
The remove kept failing... So i just went on and did an add and it succeeded.. I can compile.... I then did a rm again, and it worked, and I was able to add back... So it seems ok.
On Tue, Nov 4, 2014 at 9:51 PM, Raymond Xie notifications@github.com wrote:
com.mobfox.sdk is a plugin to install mobfox sdk only.
just retry, remove and re-add.
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61763017 .
I'm having a serious problem... It compiles but fails...
This was after rm and add of plugin... Here's those commands and output:
JeffgMacbookPro:lines1 jeffreygreenberg$ cordova plugin rm com.rjfun.cordova.mobfox
Uninstalling 3 dependent plugins.
Uninstalling com.google.playservices from ios
Uninstalling com.google.admobsdk-ios from ios
Uninstalling com.mobfox.sdk from ios
Uninstalling com.rjfun.cordova.mobfox from ios
Removing "com.rjfun.cordova.mobfox"
JeffgMacbookPro:lines1 jeffreygreenberg$ cordova plugin add com.rjfun.cordova.mobfox
Fetching plugin "com.rjfun.cordova.mobfox" via plugin registry
npm http GET http://registry.cordova.io/com.rjfun.cordova.mobfox
npm http 304 http://registry.cordova.io/com.rjfun.cordova.mobfox
Installing "com.rjfun.cordova.mobfox" for ios
Fetching plugin "com.mobfox.sdk" via plugin registry
npm http GET http://registry.cordova.io/com.mobfox.sdk
npm http 304 http://registry.cordova.io/com.mobfox.sdk
Installing "com.mobfox.sdk" for ios
Fetching plugin "com.google.playservices" via plugin registry
npm http GET http://registry.cordova.io/com.google.playservices
npm http 304 http://registry.cordova.io/com.google.playservices
Installing "com.google.playservices" for ios
Fetching plugin "com.google.admobsdk-ios" via plugin registry
npm http GET http://registry.cordova.io/com.google.admobsdk-ios
npm http 304 http://registry.cordova.io/com.google.admobsdk-ios
Installing "com.google.admobsdk-ios" for ios
JeffgMacbookPro:lines1 jeffreygreenberg$ cordova prepare
On Tue, Nov 4, 2014 at 10:01 PM, Jeffrey Greenberg jeffg@inventivity.com wrote:
The remove kept failing... So i just went on and did an add and it succeeded.. I can compile.... I then did a rm again, and it worked, and I was able to add back... So it seems ok.
On Tue, Nov 4, 2014 at 9:51 PM, Raymond Xie notifications@github.com wrote:
com.mobfox.sdk is a plugin to install mobfox sdk only.
just retry, remove and re-add.
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61763017 .
Here's the fail part in console
2014-11-04 22:31:10.085 Lines[15852:475684] Apache Cordova native platform version 3.6.3 is starting.
2014-11-04 22:31:10.087 Lines[15852:475684] Multi-tasking -> Device: YES, App: YES
2014-11-04 22:31:10.158 Lines[15852:475684] Unlimited access to network resources
2014-11-04 22:31:10.925 Lines[15852:475684] [CDVTimer][statusbar] 168.644011ms
2014-11-04 22:31:10.926 Lines[15852:475684] [CDVTimer][localnotification] 0.084996ms
2014-11-04 22:31:10.926 Lines[15852:475684] [CDVTimer][localnotification] 0.009000ms
2014-11-04 22:31:10.926 Lines[15852:475684] [CDVTimer][TotalPluginStartup] 169.454992ms
2014-11-04 22:31:11.483 Lines[15852:475684] Resetting plugins due to page load.
2014-11-04 22:31:12.693 Lines[15852:475684] Finished load of: file:///Users/jeffreygreenberg/Library/Developer/CoreSimulator/Devices/47B533F2-EB0F-456F-B6BB-BF6A3439C7E5/data/Containers/Bundle/Application/25078FA0-0CFC-43D0-9B4A-D1C5B4A095F6/Lines.app/www/devCD.html
2014-11-04 22:31:13.810 Lines[15852:475684] CDVPlugin class CDVMobFox (pluginName: MobFox) does not exist.
2014-11-04 22:31:13.810 Lines[15852:475684] ERROR: Plugin 'MobFox' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2014-11-04 22:31:13.810 Lines[15852:475684] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [
"license" : "jeffg@inventivity.com
jeffg@inventivity.com\/a7d04b09865f05bdf3a5fb54c421320a",*
"position" : 8,*
"isTesting" : false*
]
2014-11-04 22:31:13.811 Lines[15852:475684] apploaded
On Tue, Nov 4, 2014 at 10:33 PM, Jeffrey Greenberg jeffg@inventivity.com wrote:
I'm having a serious problem... It compiles but fails...
This was after rm and add of plugin... Here's those commands and output:
JeffgMacbookPro:lines1 jeffreygreenberg$ cordova plugin rm com.rjfun.cordova.mobfox
Uninstalling 3 dependent plugins.
Uninstalling com.google.playservices from ios
Uninstalling com.google.admobsdk-ios from ios
Uninstalling com.mobfox.sdk from ios
Uninstalling com.rjfun.cordova.mobfox from ios
Removing "com.rjfun.cordova.mobfox"
JeffgMacbookPro:lines1 jeffreygreenberg$ cordova plugin add com.rjfun.cordova.mobfox
Fetching plugin "com.rjfun.cordova.mobfox" via plugin registry
npm http GET http://registry.cordova.io/com.rjfun.cordova.mobfox
npm http 304 http://registry.cordova.io/com.rjfun.cordova.mobfox
Installing "com.rjfun.cordova.mobfox" for ios
Fetching plugin "com.mobfox.sdk" via plugin registry
npm http GET http://registry.cordova.io/com.mobfox.sdk
npm http 304 http://registry.cordova.io/com.mobfox.sdk
Installing "com.mobfox.sdk" for ios
Fetching plugin "com.google.playservices" via plugin registry
npm http GET http://registry.cordova.io/com.google.playservices
npm http 304 http://registry.cordova.io/com.google.playservices
Installing "com.google.playservices" for ios
Fetching plugin "com.google.admobsdk-ios" via plugin registry
npm http GET http://registry.cordova.io/com.google.admobsdk-ios
npm http 304 http://registry.cordova.io/com.google.admobsdk-ios
Installing "com.google.admobsdk-ios" for ios
JeffgMacbookPro:lines1 jeffreygreenberg$ cordova prepare
On Tue, Nov 4, 2014 at 10:01 PM, Jeffrey Greenberg jeffg@inventivity.com wrote:
The remove kept failing... So i just went on and did an add and it succeeded.. I can compile.... I then did a rm again, and it worked, and I was able to add back... So it seems ok.
On Tue, Nov 4, 2014 at 9:51 PM, Raymond Xie notifications@github.com wrote:
com.mobfox.sdk is a plugin to install mobfox sdk only.
just retry, remove and re-add.
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61763017 .
This is the output of cordova plugin list:
JeffgMacbookPro:lines1 jeffreygreenberg$ cordova plugin list
com.google.admobsdk-ios 6.12.0 "AdMob SDK for iOS"
com.google.playservices 19.0.0 "Google Play Services for Android"
com.mobfox.sdk 6.0.0 "MobFox SDK"
com.rjfun.cordova.mobfox 1.1.0 "MobFox Ad"
de.appplant.cordova.plugin.local-notification 0.7.6 "LocalNotification"
org.apache.cordova.console 0.2.11 "Console"
org.apache.cordova.device 0.2.13-dev "Device"
org.apache.cordova.statusbar 0.1.8 "StatusBar"
On Tue, Nov 4, 2014 at 10:35 PM, Jeffrey Greenberg jeffg@inventivity.com wrote:
Here's the fail part in console
2014-11-04 22:31:10.085 Lines[15852:475684] Apache Cordova native platform version 3.6.3 is starting.
2014-11-04 22:31:10.087 Lines[15852:475684] Multi-tasking -> Device: YES, App: YES
2014-11-04 22:31:10.158 Lines[15852:475684] Unlimited access to network resources
2014-11-04 22:31:10.925 Lines[15852:475684] [CDVTimer][statusbar] 168.644011ms
2014-11-04 22:31:10.926 Lines[15852:475684] [CDVTimer][localnotification] 0.084996ms
2014-11-04 22:31:10.926 Lines[15852:475684] [CDVTimer][localnotification] 0.009000ms
2014-11-04 22:31:10.926 Lines[15852:475684] [CDVTimer][TotalPluginStartup] 169.454992ms
2014-11-04 22:31:11.483 Lines[15852:475684] Resetting plugins due to page load.
2014-11-04 22:31:12.693 Lines[15852:475684] Finished load of: file:///Users/jeffreygreenberg/Library/Developer/CoreSimulator/Devices/47B533F2-EB0F-456F-B6BB-BF6A3439C7E5/data/Containers/Bundle/Application/25078FA0-0CFC-43D0-9B4A-D1C5B4A095F6/Lines.app/www/devCD.html
2014-11-04 22:31:13.810 Lines[15852:475684] CDVPlugin class CDVMobFox (pluginName: MobFox) does not exist.
2014-11-04 22:31:13.810 Lines[15852:475684] ERROR: Plugin 'MobFox' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2014-11-04 22:31:13.810 Lines[15852:475684] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [
- "INVALID",*
- "MobFox",*
- "setOptions",*
- [*
- {*
"license" : "jeffg@inventivity.com
jeffg@inventivity.com\/a7d04b09865f05bdf3a5fb54c421320a",*
"position" : 8,*
"isTesting" : false*
- }*
- ]*
]
2014-11-04 22:31:13.811 Lines[15852:475684] apploaded
On Tue, Nov 4, 2014 at 10:33 PM, Jeffrey Greenberg jeffg@inventivity.com wrote:
I'm having a serious problem... It compiles but fails...
This was after rm and add of plugin... Here's those commands and output:
JeffgMacbookPro:lines1 jeffreygreenberg$ cordova plugin rm com.rjfun.cordova.mobfox
Uninstalling 3 dependent plugins.
Uninstalling com.google.playservices from ios
Uninstalling com.google.admobsdk-ios from ios
Uninstalling com.mobfox.sdk from ios
Uninstalling com.rjfun.cordova.mobfox from ios
Removing "com.rjfun.cordova.mobfox"
JeffgMacbookPro:lines1 jeffreygreenberg$ cordova plugin add com.rjfun.cordova.mobfox
Fetching plugin "com.rjfun.cordova.mobfox" via plugin registry
npm http GET http://registry.cordova.io/com.rjfun.cordova.mobfox
npm http 304 http://registry.cordova.io/com.rjfun.cordova.mobfox
Installing "com.rjfun.cordova.mobfox" for ios
Fetching plugin "com.mobfox.sdk" via plugin registry
npm http GET http://registry.cordova.io/com.mobfox.sdk
npm http 304 http://registry.cordova.io/com.mobfox.sdk
Installing "com.mobfox.sdk" for ios
Fetching plugin "com.google.playservices" via plugin registry
npm http GET http://registry.cordova.io/com.google.playservices
npm http 304 http://registry.cordova.io/com.google.playservices
Installing "com.google.playservices" for ios
Fetching plugin "com.google.admobsdk-ios" via plugin registry
npm http GET http://registry.cordova.io/com.google.admobsdk-ios
npm http 304 http://registry.cordova.io/com.google.admobsdk-ios
Installing "com.google.admobsdk-ios" for ios
JeffgMacbookPro:lines1 jeffreygreenberg$ cordova prepare
On Tue, Nov 4, 2014 at 10:01 PM, Jeffrey Greenberg <jeffg@inventivity.com
wrote:
The remove kept failing... So i just went on and did an add and it succeeded.. I can compile.... I then did a rm again, and it worked, and I was able to add back... So it seems ok.
On Tue, Nov 4, 2014 at 9:51 PM, Raymond Xie notifications@github.com wrote:
com.mobfox.sdk is a plugin to install mobfox sdk only.
just retry, remove and re-add.
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61763017 .
i think the wrong order to rm/add break the config.xml.
please check the file: {your project}/ platforms/ios/{your app name}/config.xml
you should see:
<feature name="MobFox">
<param name="ios-package" value="CDVMobFox" />
</feature>
if not exists, please rm/add all plugins again, then run cordova prepare.
it's there... and the rm/add work cleanly...
On Tue, Nov 4, 2014 at 11:25 PM, Raymond Xie notifications@github.com wrote:
i think the wrong order to rm/add break the config.xml.
please check the file: {your project}/ platforms/ios/{your app name}/config.xml
you should see:
<feature name="MobFox"> <param name="ios-package" value="CDVMobFox" /> </feature>
if not exists, please rm/add all plugins again, then run cordova prepare.
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61769118 .
so i'm still stuck
On Tue, Nov 4, 2014 at 11:28 PM, Jeffrey Greenberg jeffg@inventivity.com wrote:
it's there... and the rm/add work cleanly...
On Tue, Nov 4, 2014 at 11:25 PM, Raymond Xie notifications@github.com wrote:
i think the wrong order to rm/add break the config.xml.
please check the file: {your project}/ platforms/ios/{your app name}/config.xml
you should see:
<feature name="MobFox"> <param name="ios-package" value="CDVMobFox" /> </feature>
if not exists, please rm/add all plugins again, then run cordova prepare.
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61769118 .
the cordova CLI must break some project file content.
try:
if not working, re-create a clean project and move your www content...
as the cordova CLI is not smart enough and sometimes just break things, so if cannot explain and fix, push the reboot button.
I absolutely cannot do that... last time it was a problem with your plugin install... and i'm sure it's the same thing now... I have created custom settings... other plugins work fine with adds and removes...
I'll look for CVVMovFox.h/m in a moment .. but you should try what I did and see if you can repeat the problem. plugin add plugin add plugin rm plugin add
On Tue, Nov 4, 2014 at 11:57 PM, Raymond Xie notifications@github.com wrote:
if not working, re-create a clean project and move your www content...
as the cordova CLI is not smart enough and sometimes just break things, so if cannot explain and fix, push the reboot button.
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61771597 .
sure, i'll try
[image: Inline image 1]
On Wed, Nov 5, 2014 at 12:03 AM, Raymond Xie notifications@github.com wrote:
sure, i'll try
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61771987 .
cannot see image posted by email, please attach to webpage
here is the steps i tried, i can load the emulator and see mobfox Ad:
Mac:test1 liming$ cordova plugin ls
com.google.admobsdk-ios 6.12.0 "AdMob SDK for iOS"
com.google.playservices 19.0.0 "Google Play Services for Android"
com.mobfox.sdk 6.0.0 "MobFox SDK"
com.rjfun.cordova.mobfox 1.1.0 "MobFox Ad"
iMac:test1 liming$
iMac:test1 liming$ cordova plugin add com.rjfun.cordova.mobfox
Fetching plugin "com.rjfun.cordova.mobfox" via plugin registry
npm http GET http://registry.cordova.io/com.rjfun.cordova.mobfox
npm http 304 http://registry.cordova.io/com.rjfun.cordova.mobfox
Plugin "com.rjfun.cordova.mobfox" already installed on ios.
iMac:test1 liming$
iMac:test1 liming$ cordova plugin rm com.rjfun.cordova.mobfox
Uninstalling 3 dependent plugins.
Uninstalling com.google.playservices from ios
Uninstalling com.google.admobsdk-ios from ios
Uninstalling com.mobfox.sdk from ios
Uninstalling com.rjfun.cordova.mobfox from ios
Removing "com.rjfun.cordova.mobfox"
iMac:test1 liming$
iMac:test1 liming$ cordova plugin ls
No plugins added. Use `cordova plugin add <plugin>`.
iMac:test1 liming$
iMac:test1 liming$ cordova plugin add com.rjfun.cordova.mobfox
Fetching plugin "com.rjfun.cordova.mobfox" via plugin registry
npm http GET http://registry.cordova.io/com.rjfun.cordova.mobfox
npm http 304 http://registry.cordova.io/com.rjfun.cordova.mobfox
Installing "com.rjfun.cordova.mobfox" for ios
Fetching plugin "com.mobfox.sdk" via plugin registry
npm http GET http://registry.cordova.io/com.mobfox.sdk
npm http 304 http://registry.cordova.io/com.mobfox.sdk
Installing "com.mobfox.sdk" for ios
Fetching plugin "com.google.playservices" via plugin registry
npm http GET http://registry.cordova.io/com.google.playservices
npm http 304 http://registry.cordova.io/com.google.playservices
Installing "com.google.playservices" for ios
Fetching plugin "com.google.admobsdk-ios" via plugin registry
npm http GET http://registry.cordova.io/com.google.admobsdk-ios
npm http 304 http://registry.cordova.io/com.google.admobsdk-ios
Installing "com.google.admobsdk-ios" for ios
iMac:test1 liming$
iMac:test1 liming$ cordova build
iMac:test1 liming$ cordova run ios
need drop file or copy/paste to webpage to post images to github pages, attach image in email will not work.
Does the link i put up work?
On Wed, Nov 5, 2014 at 12:23 AM, Raymond Xie notifications@github.com wrote:
need drop file or copy/paste to webpage to post images to github pages, attach image in email will not work.
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61773792 .
are you on Skype?
On Wed, Nov 5, 2014 at 12:25 AM, Jeffrey Greenberg jeffg@inventivity.com wrote:
Does the link i put up work?
On Wed, Nov 5, 2014 at 12:23 AM, Raymond Xie notifications@github.com wrote:
need drop file or copy/paste to webpage to post images to github pages, attach image in email will not work.
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61773792 .
yes, skype id: floatinghotpot
ok... sent skype invite... meanwhile posted images to your github as an issue...
On Wed, Nov 5, 2014 at 12:28 AM, Raymond Xie notifications@github.com wrote:
yes, skype id: floatinghotpot
— Reply to this email directly or view it on GitHub https://github.com/floatinghotpot/cordova-mobfox-pro/issues/9#issuecomment-61774240 .
As soon as I can, I'll confirm the orientation fix...
The orientation is not 100%. It only works in two modes: portrait and landscape, but not upside down... That is when my is running correctly with the home button up, the ad comes in upside down. Only if the app is home button down, does the ad come in properly oriented. This is a bug.
Also, once an ad is displayed, rotating the device does not resize and reposition the ad... For example, going from portrait to landscape, i'd expect the ad to scaled down and centered. Instead it stays as is and appears sideways. I'd expect the ad to adjust dynamically...
This is on an iPad Mini where going landscape makes sense. For test purposes you might modify your test app to allow for landscape mode and different orientations to see this.
Also my app caches ads, so I'd expect to be able to display the cached ad in any orientation. It should not matter if the ad was obtained if the device is in landscape mode and then later the ad is displayed in portrait mode.
according to mobfox support team, the orientation is fixed in v6.0, and so does it when i tested it with demo. when rotate, the video will resize and center to fit the width.
cordova plugman will cache all plugins it downloaded in ~/.plugman/cache, to ensure the most new mobfox sdk is used, try cleaning the plugman local cache
Didn't quite understand your first paragraph: Are you saying that the MobFox v6.0 api should be properly rotating and resizing an ad while it is running, and you've verified that behaviour?
And if so, you think I"m not running the v6 api? I am not currently using or have plugman installed. But I do have a ~/.plugman/cache directory... I have other plugins than yours and i don't understand what the implication of removing the whole thing is... I do see that in the cache there is an com.mobfox.sdk installed with 6.0.0 directory... Seems like the latest...
Update: i just ran my app on emulator iPhone 5 and an real (not test) ad came up in portrait mode... Looked perfect. I rotated the emulator screen, and the ad resized while playing perfectly... ... I think at this point, I need to do more testing to see if there is a problem... I don't have a repeatable problem at the moment... Not sure how frequent or not this is occurring... I will update later...
On an iPad Mini when I display a video ad via the plugin and white it's running rotate the screen, the video is rotated but not properly centered, but appears on the left middle and looks truncated.