Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ads not showing up on iOS #359

Open
2 tasks done
UsmanAlgoace opened this issue Dec 13, 2023 · 0 comments
Open
2 tasks done

Ads not showing up on iOS #359

UsmanAlgoace opened this issue Dec 13, 2023 · 0 comments

Comments

@UsmanAlgoace
Copy link

UsmanAlgoace commented Dec 13, 2023

Bug Report

Before opening

  • Did you try the latest release?
  • Did you look for existing issues?

Ad Modules

Platforms

Versions

  • Android:
  • iOS:
  • react-native-fbads:
  • react-native:

Ads Environment

  • Facebook app installed:
  • Happens in test (dev build + device is marked as a test device):
  • Happens in production (release build + not a test device):
  • Facebook review status: [not submitted | approved]

Current Behaviour

I am trying to display banner ads, it is working fine on android , but getting this error or iOS

'banner error', { dispatchConfig: { phasedRegistrationNames: { captured: 'onAdErrorCapture', bubbled: 'onAdError' } },
_targetInst:
{ tag: 5,
key: null,
elementType: 'CTKBannerView',
type: 'CTKBannerView',
stateNode:
{ _nativeTag: 39,
_children: [],
viewConfig:
{ baseModuleName: 'RCTView',
Manager: 'CTKBannerViewManager',
NativeProps:
{ onAdPress: 'BOOL',
onAdError: 'BOOL',
size: 'NSNumber',
onAdLoad: 'BOOL',
placementId: 'NSString' },
bubblingEventTypes:
{ topChange: { phasedRegistrationNames: { captured: 'onChangeCapture', bubbled: 'onChange' } },
topFocus: { phasedRegistrationNames: { captured: 'onFocusCapture', bubbled: 'onFocus' } },
topSubmitEditing:
{ phasedRegistrationNames:
{ captured: 'onSubmitEditingCapture',
bubbled: 'onSubmitEditing' } },
topTouchEnd: { phasedRegistrationNames: { captured: 'onTouchEndCapture', bubbled: 'onTouchEnd' } },
topBlur: { phasedRegistrationNames: { captured: 'onBlurCapture', bubbled: 'onBlur' } },
topTouchStart: { phasedRegistrationNames: { captured: 'onTouchStartCapture', bubbled: 'onTouchStart' } },
topTouchMove: { phasedRegistrationNames: { captured: 'onTouchMoveCapture', bubbled: 'onTouchMove' } },
topEndEditing: { phasedRegistrationNames: { captured: 'onEndEditingCapture', bubbled: 'onEndEditing' } },
topTouchCancel: { phasedRegistrationNames: { captured: 'onTouchCancelCapture', bubbled: 'onTouchCancel' } },
topKeyPress: { phasedRegistrationNames: { captured: 'onKeyPressCapture', bubbled: 'onKeyPress' } },
topPress: { phasedRegistrationNames: { captured: 'onPressCapture', bubbled: 'onPress' } },
topAdLoad: { phasedRegistrationNames: { captured: 'onAdLoadCapture', bubbled: 'onAdLoad' } },
topAdError: { phasedRegistrationNames: { captured: 'onAdErrorCapture', bubbled: 'onAdError' } },
topAdPress: { phasedRegistrationNames: { captured: 'onAdPressCapture', bubbled: 'onAdPress' } } },
directEventTypes:
{ topAccessibilityTap: { registrationName: 'onAccessibilityTap' },
topMagicTap: { registrationName: 'onMagicTap' },
topLayout: { registrationName: 'onLayout' },
topAccessibilityAction: { registrationName: 'onAccessibilityAction' },
topAccessibilityEscape: { registrationName: 'onAccessibilityEscape' },
onGestureHandlerEvent: { registrationName: 'onGestureHandlerEvent' },
onGestureHandlerStateChange: { registrationName: 'onGestureHandlerStateChange' } },
Constants: {},
Commands: {},
uiViewClassName: 'CTKBannerView',
validAttributes:
{ aspectRatio: true,
flexWrap: true,
height: true,
borderTopEndRadius: true,
accessibilityRole: true,
paddingTop: true,
accessibilityElementsHidden: true,
flexShrink: true,
flexDirection: true,
maxWidth: true,
borderLeftWidth: true,
backgroundColor: { process: [Function: processColor] },
display: true,
borderBottomRightRadius: true,
onLayout: true,
borderTopWidth: true,
borderRightWidth: true,
borderLeftColor: { process: [Function: processColor] },
zIndex: true,
collapsable: true,
paddingStart: true,
borderTopRightRadius: true,
hitSlop: { diff: [Function: insetsDiffer] },
onMagicTap: true,
borderTopLeftRadius: true,
marginStart: true,
flex: true,
borderBottomEndRadius: true,
borderEndColor: { process: [Function: processColor] },
borderColor: { process: [Function: processColor] },
maxHeight: true,
nativeID: true,
paddingLeft: true,
paddingRight: true,
start: true,
borderTopColor: { process: [Function: processColor] },
minWidth: true,
alignSelf: true,
borderRadius: true,
paddingEnd: true,
accessibilityValue: true,
transform: { diff: [Function: matricesDiffer] },
accessible: true,
borderStartColor: { process: [Function: processColor] },
shouldRasterizeIOS: true,
bottom: true,
paddingBottom: true,
shadowRadius: true,
marginTop: true,
borderWidth: true,
minHeight: true,
flexGrow: true,
accessibilityState: true,
accessibilityIgnoresInvertColors: true,
borderRightColor: { process: [Function: processColor] },
borderBottomLeftRadius: true,
needsOffscreenAlphaCompositing: true,
width: true,
paddingHorizontal: true,
marginLeft: true,
shadowOpacity: true,
alignItems: true,
removeClippedSubviews: true,
borderBottomColor: { process: [Function: processColor] },
backfaceVisibility: true,
shadowOffset: { diff: [Function: sizesDiffer] },
justifyContent: true,
pointerEvents: true,
marginVertical: true,
borderBottomWidth: true,
direction: true,
marginBottom: true,
end: true,
right: true,
borderBottomStartRadius: true,
borderTopStartRadius: true,
shadowColor: { process: [Function: processColor] },
accessibilityLabel: true,
accessibilityHint: true,
borderEndWidth: true,
alignContent: true,
accessibilityViewIsModal: true,
padding: true,
borderStyle: true,
marginHorizontal: true,
onAccessibilityAction: true,
opacity: true,
onAccessibilityEscape: true,
onAccessibilityTap: true,
accessibilityActions: true,
position: [TOO BIG formatValueCalls 201 exceeded limit of 200],
overflow: [TOO BIG formatValueCalls 202 exceeded limit of 200],
marginRight: [TOO BIG formatValueCalls 203 exceeded limit of 200],
testID: [TOO BIG formatValueCalls 204 exceeded limit of 200],
margin: [TOO BIG formatValueCalls 205 exceeded limit of 200],
paddingVertical: [TOO BIG formatValueCalls 206 exceeded limit of 200],
top: [TOO BIG formatValueCalls 207 exceeded limit of 200],
marginEnd: [TOO BIG formatValueCalls 208 exceeded limit of 200],
flexBasis: [TOO BIG formatValueCalls 209 exceeded limit of 200],
borderStartWidth: [TOO BIG formatValueCalls 210 exceeded limit of 200],
left: [TOO BIG formatValueCalls 211 exceeded limit of 200],
onAdPress: [TOO BIG formatValueCalls 212 exceeded limit of 200],
onAdError: [TOO BIG formatValueCalls 213 exceeded limit of 200],
size: [TOO BIG formatValueCalls 214 exceeded limit of 200],
onAdLoad: [TOO BIG formatValueCalls 215 exceeded limit of 200],
placementId: [TOO BIG formatValueCalls 216 exceeded limit of 200],
style: [TOO BIG formatValueCalls 217 exceeded limit of 200] } },
_internalFiberInstanceHandleDEV: [Circular] },
return: [TOO BIG formatValueCalls 218 exceeded limit of 200],
child: [TOO BIG formatValueCalls 219 exceeded limit of 200],
sibling: [TOO BIG formatValueCalls 220 exceeded limit of 200],
index: [TOO BIG formatValueCalls 221 exceeded limit of 200],
ref: [TOO BIG formatValueCalls 222 exceeded limit of 200],
pendingProps: [TOO BIG formatValueCalls 223 exceeded limit of 200],
memoizedProps: [TOO BIG formatValueCalls 224 exceeded limit of 200],
updateQueue: [TOO BIG formatValueCalls 225 exceeded limit of 200],
memoizedState: [TOO BIG formatValueCalls 226 exceeded limit of 200],
dependencies: [TOO BIG formatValueCalls 227 exceeded limit of 200],
mode: [TOO BIG formatValueCalls 228 exceeded limit of 200],
flags: [TOO BIG formatValueCalls 229 exceeded limit of 200],
subtreeFlags: [TOO BIG formatValueCalls 230 exceeded limit of 200],
deletions: [TOO BIG formatValueCalls 231 exceeded limit of 200],
lanes: [TOO BIG formatValueCalls 232 exceeded limit of 200],
childLanes: [TOO BIG formatValueCalls 233 exceeded limit of 200],
alternate: [TOO BIG formatValueCalls 234 exceeded limit of 200],
actualDuration: [TOO BIG formatValueCalls 235 exceeded limit of 200],
actualStartTime: [TOO BIG formatValueCalls 236 exceeded limit of 200],
selfBaseDuration: [TOO BIG formatValueCalls 237 exceeded limit of 200],
treeBaseDuration: [TOO BIG formatValueCalls 238 exceeded limit of 200],
_debugSource: [TOO BIG formatValueCalls 239 exceeded limit of 200],
_debugOwner: [TOO BIG formatValueCalls 240 exceeded limit of 200],
_debugNeedsRemount: [TOO BIG formatValueCalls 241 exceeded limit of 200],
_debugHookTypes: [TOO BIG formatValueCalls 242 exceeded limit of 200] },
_dispatchListeners: [TOO BIG formatValueCalls 243 exceeded limit of 200],
_dispatchInstances: [TOO BIG formatValueCalls 244 exceeded limit of 200],
nativeEvent: [TOO BIG formatValueCalls 245 exceeded limit of 200],
type: [TOO BIG formatValueCalls 246 exceeded limit of 200],
target: [TOO BIG formatValueCalls 247 exceeded limit of 200],
currentTarget: [TOO BIG formatValueCalls 248 exceeded limit of 200],
eventPhase: [TOO BIG formatValueCalls 249 exceeded limit of 200],
bubbles: [TOO BIG formatValueCalls 250 exceeded limit of 200],
cancelable: [TOO BIG formatValueCalls 251 exceeded limit of 200],
timeStamp: [TOO BIG formatValueCalls 252 exceeded limit of 200],
defaultPrevented: [TOO BIG formatValueCalls 253 exceeded limit of 200],
isTrusted: [TOO BIG formatValueCalls 254 exceeded limit of 200],
isDefaultPrevented: [TOO BIG formatValueCalls 255 exceeded limit of 200],
isPropagationStopped: [TOO BIG formatValueCalls 256 exceeded limit of 200] }

Expected Behaviour

Steps to Reproduce

Additionals

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant