stale-furniture-60415
01/10/2023, 3:09 PMsilly-kitchen-30880
01/10/2023, 3:09 PMcalm-yak-10773
01/11/2023, 6:39 AMcalm-yak-10773
01/11/2023, 11:51 AMRest Api Key is not a mandatory section for Braze device mode and you may fill random value in it.
So to send events to Braze you need to fill:
1. App Key
2. Data Centerstale-furniture-60415
01/11/2023, 1:05 PMApp keys, one for each platform (web, android an iOS).
Which one should I fill in the App Key field when creating the destination ?calm-yak-10773
01/11/2023, 2:02 PMstale-furniture-60415
01/16/2023, 1:44 PMcalm-yak-10773
01/16/2023, 2:13 PMUse device-mode to send events is turned on. (This settings could be found at the bottom).
Also can you set the log to Verbose (https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-flutter-sdk/flutter-v2/#debugging)
and check if youāre getting any kind of error or not from the Braze SDK?
To test if events are reaching to Braze or not, please try following steps:
1. Log in to Braze account.
2. Open Developer Console at the left bottom side.
3. Open Internal Groups tab and Create Internal Group (refer second pic)
4. Navigate to the created group -> Add Test User and enter external id (it could be a random Id for testing purpose) (refer third pic)
5. Once above steps are done successfully:
a. Now make identify event with the external id (which was set in the fourth step)
b. To set the externalId: Follow this https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-flutter-sdk/flutter-v2/#external-id
c. Now make any other types of supported events
6. Your events could be found under Event User Log tab.
Additional tips:
1. Events are delivered instantly which means ideally you shouldnāt have to wait to check for the events.
2. You might need to refresh the page after each time you send the event.calm-yak-10773
01/16/2023, 2:15 PMstale-furniture-60415
01/16/2023, 2:31 PMbuilder.withDataPlaneUrl("https://rudderstacgwyx.dataplane.rudderstack.com");
builder.withControlPlaneUrl("https://api.rudderlabs.com");
Can you precise where I could find <DATA_PLANE_URL> and <CONTROL_PLACE_URL> ?
Iām actually on the free plan.calm-yak-10773
01/16/2023, 2:39 PMfinal RudderController rudderClient = RudderController.instance;
RudderConfigBuilder builder = RudderConfigBuilder();
builder.withFactory(RudderIntegrationBrazeFlutter());
rudderClient.initialize(<WRITE_KEY>, config: builder.build(), options: null);
This is necessary step: builder.withFactory(RudderIntegrationBrazeFlutter()); to send events using device mode.
Now, coming to your question:
⢠You donāt need to pass CONTROL_PLANE_URL as SDK manages that URL.
⦠āhttps://api.rudderlabs.comā is the default CONTROL_PLANE_URL.
⢠To find DATA_PLANE_URL open: https://app.rudderstack.com/
⦠You could find the url in the top (refer pic).stale-furniture-60415
01/16/2023, 2:46 PMvoid initRudderstack() {
RudderConfigBuilder builder = RudderConfigBuilder();
builder.withDataPlaneUrl("https://****.dataplane.rudderstack.com");
builder.withControlPlaneUrl("https://api.rudderlabs.com");
builder.withLogLevel(RudderLogger.VERBOSE);
builder.withFactories([RudderIntegrationBrazeFlutter()]);
RudderOption options = RudderOption();
const String writeKey = "*****";
RudderClient.instance
.initialize(writeKey, config: builder.build(), options: options);
}stale-furniture-60415
01/16/2023, 2:47 PMcalm-yak-10773
01/16/2023, 2:52 PMstale-furniture-60415
01/16/2023, 2:55 PMrudder_sdk_flutter: ^2.3.0
rudder_integration_braze_flutter: ^1.0.2calm-yak-10773
01/16/2023, 3:01 PMbuilder.withFactories([RudderIntegrationBrazeFlutter()])
please use this:
builder.withFactory(RudderIntegrationBrazeFlutter());
You may refer the sample Flutter app here: https://github.com/rudderlabs/rudder-sdk-flutter/blob/develop/packages/example/lib/home_screen.dartcalm-yak-10773
01/16/2023, 3:04 PMstale-furniture-60415
01/16/2023, 3:07 PMstale-furniture-60415
01/16/2023, 3:08 PMimport 'package:flutter_segment/flutter_segment.dart';
import 'package:rudder_integration_braze_flutter/rudder_integration_braze_flutter.dart';
import 'package:rudder_sdk_flutter/RudderClient.dart';
// ignore: depend_on_referenced_packages
import 'package:rudder_sdk_flutter_platform_interface/platform.dart';
void initRudderstack() {
RudderConfigBuilder builder = RudderConfigBuilder();
builder.withDataPlaneUrl("https://*.dataplane.rudderstack.com");
builder.withControlPlaneUrl("https://api.rudderlabs.com");
builder.withLogLevel(RudderLogger.VERBOSE);
builder.withFactory(RudderIntegrationBrazeFlutter());
RudderOption options = RudderOption();
const String writeKey = "*";
RudderClient.instance
.initialize(writeKey, config: builder.build(), options: options);
}calm-yak-10773
01/16/2023, 3:08 PMstale-furniture-60415
01/16/2023, 4:11 PMstale-furniture-60415
01/16/2023, 4:11 PMstale-furniture-60415
01/16/2023, 4:12 PMUndefined symbols for architecture arm64:
"_OBJC_CLASS_$_RudderBrazeFactory", referenced from:
objc-class-ref in RudderIntegrationBrazeFlutterPlugin.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)stale-furniture-60415
01/16/2023, 4:12 PMError (Xcode): Undefined symbol: _OBJC_CLASS_$_RudderBrazeFactorycalm-yak-10773
01/16/2023, 4:13 PMstale-furniture-60415
01/16/2023, 4:13 PMcalm-yak-10773
01/16/2023, 4:32 PMarch -x86_64 to run the iOS app.)
Also, please try this steps (Open Xcode through Rosetta) and if it works please let us know:
1. Open Finder
2. Right click on Xcode in applications folder
3. Get Info
4. set Open with Rosetta to true
Now open your iOS app *.xcworkspace file in XCode and run the app directly. This might solve your issue.stale-furniture-60415
01/16/2023, 4:48 PMstale-furniture-60415
01/16/2023, 5:19 PMcalm-yak-10773
01/17/2023, 9:48 AMarm64 as an Excluded Architecture in your Build Settings as shown in the below image:calm-yak-10773
01/17/2023, 9:49 AMstale-furniture-60415
01/17/2023, 11:42 AMcalm-yak-10773
01/17/2023, 11:47 AMAlso, please try this steps (Open Xcode through Rosetta) and if it works please let us know:
1. Open Finder
2. Right click on Xcode in applications folder
3. Get Info
4. set Open with Rosetta to true
Now open your iOS appfile in XCode and run the app directly. This might solve your issue.*.xcworkspace
calm-yak-10773
01/17/2023, 11:50 AMflutter clean && flutter pub get && flutter run in your flutter project.stale-furniture-60415
02/15/2023, 9:12 AMflutter run --release.
I donāt see events coming to my flutter source on Rudderstack, so nothing is happening on Braze as well.
This only happens when running the app in release mode.calm-yak-10773
02/15/2023, 11:11 AMcalm-yak-10773
02/15/2023, 11:13 AM